using System.Threading.Tasks;
public static void Main()
Console.WriteLine("Hello World");
string address = "123 something st, somewhere";
string url = "https://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&key=AIzaSyBI7eSOvsP9e9fMPj-FeMF1wzyonqVVZko";
string requestUri = string.Format("https://maps.googleapis.com/maps/api/geocode/json?address={0}&key={1}",
Uri.EscapeDataString(address), "AIzaSyBI7eSOvsP9e9fMPj-FeMF1wzyonqVVZko");
string url2 = "https://maps.googleapis.com/maps/api/js?client=gme-bureaurs&libraries=places";
string url3 = @"https://maps.googleapis.com/maps/api/geocode/json?address=New+York&client=gme-bureaurs&signature=T1xpeL0h-w1oLQVZWyz15Dcpals=";
Encoding encode = System.Text.Encoding.GetEncoding("utf-8");
WebRequest request = WebRequest.Create(url3);
WebResponse response = request.GetResponse();
var result = response.GetResponseStream();
StreamReader readStream = new StreamReader( result, encode );
Console.WriteLine("\nResponse stream received");
Char[] read = new Char[256];
int count = readStream.Read( read, 0, 256 );
Console.WriteLine("HTML...\r\n");
String str = new String(read, 0, count);
count = readStream.Read(read, 0, 256);