WinForms Map location coordinates

when the form loads user needs to enter street and city. After that I need to show him that location on the map and also to save longitude and latitude of that address.

I've done only this, which finds the location of the street and I can display it on the form(but it's ugly,if you have better solution please share). But I don't know how to get coordinates of that location.

StringBuilder queryAddress = new StringBuilder();
                queryAddress.Append("http://maps.google.com/maps?q=");
                queryAddress.Append(street + "," + "+");
                queryAddress.Append(city);
                webBrowser1.Navigate(queryAddress.ToString());

1 answer