[Solved] How do I get latitude and longtitude for desktop application? [closed]
A standard GPS device (internal or external) sends data on a serial port. Receiving any data from Serial Port is very easy. Please check this link. //define serial port SerialPort serialPort1 = new SerialPort(); //configuring the serial port serialPort1.PortName=”COM1″; serialPort1.BaudRate=9600; serialPort1.DataBits=8; serialPort1.Parity=Parity.None; serialPort1.StopBits= StopBits.One; //read data from serial port string data = serialPort1.ReadExisting(); GPS data … Read more