Socket connection like HttpWebRequest

  • Thread starter Thread starter Mubashir Khan
  • Start date Start date
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.
 
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
 
Back
Top