I am checking internet connection in my C# code using this code..
WebClient workstation = new WebClient();
byte[] data = workstation.DownloadData("http://www.google.com");
It is working fine on another pc (returning result everytime), but on my pc (windows 7, 64 bit) sometimes it is showing "operation time out error"(System.Net.WebException). Is this pc specific issue, tried in different environment but not getting any clue..