PC Review


Reply
Thread Tools Rate Thread

Checking time taken for caaling url using proxy server\proxyscript

 
 
=?Utf-8?B?ZGVlcGFr?=
Guest
Posts: n/a
 
      22nd Nov 2006
Hi All,
i m develpoing a .net Window application which has
4 texboxes(tbxURLmfor URL in URL Frame,tbxAddress for address in Proxy
server frame,tbxPort for port in proxy server frame,tbxProxyScript for proxy
script in proxy script frame) and a test button..The requirment is given below

STEP BY STEP GUIDE
1. Input the URL you want to test
2. Choose Proxy script/Proxy server with Address and Port Information/No proxy
3. Enter url to proxy script or info for proxy server in respective text box
4. Press test-button

---------------My Code is -------------------------------------------------
DateTime dt1 = DateTime.Now;
System.Net.HttpWebRequest myReq =
(HttpWebRequest)WebRequest.Create(tbxURL.Text.ToString());
//GetResponse for this request.
HttpWebResponse response = (HttpWebResponse)myReq.GetResponse();
DateTime dt2 = DateTime.Now;
lblTimeTaken.Text = Convert.ToString(dt2.Subtract(dt1));
--------------------------------------------------------------------
in this code , i m unable to set the value of proxy script textbox ,if any
or proxy server(Address and port) ,only thing which i do threough this code
is sending the url without any proxyscript ans proxy server(address and port
info) Can anybody tell me how can i do this thorugh the code....
...
i m working on window application as i need *.exe file rather than install
file ....


Thanks,
Deepak
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Users loosing Proxy Server settings when they uncheck User Proxy =?Utf-8?B?S2V2aW4=?= Windows XP Internet Explorer 1 9th Jun 2005 12:19 AM
Checking Proxy Server message times out IE =?Utf-8?B?ZWpic2Y=?= Windows XP Internet Explorer 0 19th May 2005 06:29 PM
Checking Proxy Server message times out =?Utf-8?B?ZWpic2Y=?= Microsoft Windows 2000 0 19th May 2005 05:44 PM
How to enable Internet sharing Access for Proxy server user to non Proxy server user on the same domain. Macgyver Goh Windows XP Networking 1 5th Sep 2004 12:46 PM
Proxy Server time out Kate Windows XP Networking 1 22nd Jan 2004 12:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:55 AM.