Socket connection like HttpWebRequest

M

Mubashir Khan

We have noticed that HttpWebRequest uses the Credentials property and Proxy
property to perform security checks. Could any one help us that we subclass
socket with these properties. we have used SSLStream but that uses SSL not
the security techniques used by HttpWebRequest. Can anyone help us on how we
could provide the same functionality on the sockets.
 
H

Holger Boskugel

Hello Mubashir
We have noticed that HttpWebRequest uses the Credentials property and
Proxy
property to perform security checks. Could any one help us that we
subclass
socket with these properties. we have used SSLStream but that uses SSL not
the security techniques used by HttpWebRequest. Can anyone help us on how
we
could provide the same functionality on the sockets.

For both question you schould study the related RFC for the HTTP-protocol.

In case of Credentials they evaluate the Authenticate header in the
HTTP-protocol.
With proxies I'm no so familar with.


Regards from Berlin

Holger Boskugel
 

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

Top