Want to call a custom handler that redirect and receive the http return code (302, 303 or 307)

T

ThunderMusic

Hi,
I want to use a class (if possible other than Socket) which one I could call
a custom handler and receive the redirect code it sends...

Actually, I tried using the WebClient class, but when the WebClient is
redirected, it does not give the redirect code in the result, it
automaticaly redirects and put the resulting page into the result...

Is there a buit-in class that does what I need in the .Net Framework or will
I have to implement the HTTP protocol myself using the Socket class?

thanks

ThunderMusic
 

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

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,902
Latest member
Elena68X5

Latest Threads

Top