How to get Device Location in C# with Longitude & Latitude in C#. This C# tutorial is about getting location of the user in C#.NET using GeoPositionStatus.
First of All you have to add reference to System.Device DLL. If you don’t know How to add a Reference to DLL , Click Here>. But instead of going to Browse option, go to .NET option & Find System.Device. As follows.
Now you will be able to use using System.Device.Location; .Now Add this to your Assemblies. & You are Done. 🙂 .
Here is the main logical code. For the working application, Download from below at the end of article.
Output of this Project is as follows.
Additionally You can also Download this Complete C# Source Code.
I Hope this example will help you out. If you still need any help regarding this program or any other program, Must join our C# Group & Programming Group on Facebook & Comment below to let me know your Problem.