How can I
check an address URL exists or not ?
I have this code :
private void check(string path)
{
try
{
Uri uri = new Uri(path);
WebRequest request = WebRequest.Create(uri);
request.Timeout = 3000;
WebResponse response;
response = request.GetResponse();
}
catch(Exception loi) { MessageBox.Show(loi.Message); }
}
but that error message about the proxy :(
help me
I have this code :
private void check(string path)
{
try
{
Uri uri = new Uri(path);
WebRequest request = WebRequest.Create(uri);
request.Timeout = 3000;
WebResponse response;
response = request.GetResponse();
}
catch(Exception loi) { MessageBox.Show(loi.Message); }
}
but that error message about the proxy :(
help me
Kirtan PatelPosted Mar 7, 2010, 6:20 AM
Altaf PatelPosted Mar 24, 2010, 6:55 AM
Sam HobbsPosted Mar 7, 2010, 4:36 AM
microstarPosted Mar 7, 2010, 2:34 AM
Error creating the Web Proxy specified in the 'system.net/defaultProxy' configuration section.
Sam HobbsPosted Mar 6, 2010, 11:29 PM