You need to capture the 'NMEA' data that is sent from the GPS device,
usually thru a serial port but their are some GPS classess in the
OpenNetCF libraries. The data is strings of comma separated fields
where the first field identifies the record type. From this data you
can extract the lattitude and longditude.