Export (0) Print
Expand All

How to: Typecast a WebRequest to Access Protocol Specific Properties

This example shows how to typecast a WebRequest so that you can access protocol specific properties.

Example

Dim httpreq As HttpWebRequest = _
   CType(WebRequest.Create("http://www.contoso.com/"), HttpWebRequest)

See Also

Community Additions

ADD
Show:
© 2014 Microsoft