* IBM to offer mobile security as a service IBM will start delivering mobile security-as-a-service (MaaS) through its own cloud infrastructure in India, a move that is expected to better address in-country data requirements... IBM Spectrum Computing: IBM has enlarged its portfolio of software-defined infrastructure solutions with cognitive features for workload management.  * LiFi internet technology has been introduced, the new type of wireless internet connection that gives 100 times faster than traditional WiFi -- Invented by Professor Harald Haas from the University of Edinburgh. * Sci. Rachid Yazami has developed a smart chip that charges smartphones in less than 10 minutes. BenQ has launched BlueCore projector - Consumer electronics major BenQ has launched its first BlueCore laser light source projector. For those unaware, devices with BlueCore laser technology have a high contrast output of 80000:1 with an extended lamp life and efficiency. *** 
  Oct 28 2018 12:09PM     Pranav
  1 Comments    4835 Views  
Get Google map geo point for an any pincode by using google map Api.

Before request an Google Map API for Geo point, it is required to create a google API Key. 

Follow the below steps to create Google API Key

1) Go to the following link
2) Click on "GET A KEY, Select or Create a new project.

3) Now Click on "Enable API". (Sample API Key :  AIzaSyAvjD359ibDC-*****S8A73ZdTZ*****)

Now, You are ready to start developing with Google URL Shortener API.

public static string apiKey = "AIzaSyDnEtI****9i4FJIZ***";

        protected void Page_Load(object sender, EventArgs e)
            string latlng = GetLatLngByPincode("600101");

        public string GetLatLngByPincode(string pincode)
            string locationURL = "" + pincode + "&key=" + apiKey;
            string r = new System.Net.WebClient().DownloadString(locationURL);
            dynamic result = JObject.Parse(r);
            string latlng = result.results[0] + "," + result.results[0].geometry.location.lng;
            return latlng;

Thanks, Hope this helps you to get geo points from pincode.


Jun 12 2020 8:44AM
Nice article, Thank you

Recent Posts
Create Amazon ElasticCache Using Memcached in CSharp
Oct 29 2018 12:09PM Posted By Amose
Get Google Map Lat Lng (Geo Point) By Pincode in C#
Oct 28 2018 12:09PM Posted By Pranav
Google URL Shortener in C#
Oct 20 2018 12:09PM Posted By Sanjay
Bind Gridview from CSV file in Asp.Net C#
Oct 5 2018 12:09PM Posted By Michael
Call WebService method from jQuery in every 1 minute
Sep 26 2018 12:09PM Posted By John
Gridview custom CSS in ASP.Net
Sep 14 2018 12:09PM Posted By Micheal Ryan
Read excel file and bind to Gridview in C#
Sep 10 2018 12:09PM Posted By Micheal
Follow us on Facebook
Follow us on Google +
Recent post in your Email inbox.
Enter your email address: