Create C# (Using VS) GPS tracker program to track coordinates of Sierra Modem GX400

I am a beginner to moderate programmer and would like to write a C# function/method to connect to the GX400 modem every 5 minutes (or some time period), obtain the coordinates and then save the coordinates as an entry in a csv.

Later on I’ll write another method to read the coordinates entry from the csv ref file and through NUget create a simple GPS tracker dashboard.

Basically I was hoping someone could get me up and running with the first method. I would like to know which libraries/dependencies I need, how to connect to the modem (on a private M2M network) and read the GPS coordinates from the modem.

Any and all help would be greatly appreciated!