Please help asap.

  • Thread starter Thread starter archana
  • Start date Start date
A

archana

Hi all,

I want to send webrquest throguh anonymous proxy.

Can anyone tell me how to validate ip address and port number of
anonynmous proxy server.

Is it using TctpClient class ?

And while sending request through anonymous proxy if ip address of that
proxy server is blocked by site how will i rectify this. Can i do this
by checking any HTTP error code?

Please help me asap.

thanks in advance.
 
What do you mean by "validate"? Why not just use the WebProxy class,
set the proxy, and then send your request? If the request succeeds, then
you have nothing to worry about, if not, then you will get an exception or a
failure response.

Hope this helps.
 
Hi,

thanks for your reply.

Validate means, i am taking proxy servers ip address and port number
from user before sending webrequest through that proxy and processing
multiple urls using that proxy. So to start processing of multiple urls
i need some way to validate that proxy servers ip and port number and
give information to user whether that address is valid or not for
accepting http request and forwarding that request to destination
website or not.

can u tell me how to do this.

thanks.

What do you mean by "validate"? Why not just use the WebProxy class,
set the proxy, and then send your request? If the request succeeds, then
you have nothing to worry about, if not, then you will get an exception or a
failure response.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)



I want to send webrquest throguh anonymous proxy.
Can anyone tell me how to validate ip address and port number of
anonynmous proxy server.
Is it using TctpClient class ?
And while sending request through anonymous proxy if ip address of that
proxy server is blocked by site how will i rectify this. Can i do this
by checking any HTTP error code?
Please help me asap.
thanks in advance.- Hide quoted text -- Show quoted text -
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top