SPWebRequest class

Helper calss that creates outbound web requests. The produced web requests may have restrictions or enhancements specific to SharePoint.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Utilities.SPWebRequest

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public NotInheritable Class SPWebRequest
'Usage
You do not need to declare an instance of a static class in order to access its members.
public static class SPWebRequest

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SPWebRequest members

Microsoft.SharePoint.Utilities namespace