WebRequest
WebRequest()
WebRequest(SerializationInfo, StreamingContext)
AuthenticationLevel
CachePolicy
ConnectionGroupName
ContentLength
ContentType
CreatorInstance
Credentials
DefaultCachePolicy
DefaultWebProxy
Headers
ImpersonationLevel
Method
PreAuthenticate
Proxy
RequestUri
Timeout
UseDefaultCredentials
Abort()
BeginGetRequestStream(AsyncCallback, Object)
BeginGetResponse(AsyncCallback, Object)
Create(String)
Create(Uri)
CreateDefault(Uri)
CreateHttp(String)
CreateHttp(Uri)
EndGetRequestStream(IAsyncResult)
EndGetResponse(IAsyncResult)
GetObjectData(SerializationInfo, StreamingContext)
GetRequestStream()
GetRequestStreamAsync()
GetResponse()
GetResponseAsync()
GetSystemWebProxy()
RegisterPortableWebRequestCreator(IWebRequestCreate)
RegisterPrefix(String, IWebRequestCreate)
net10.0-windows7.0
namespace System.Net
{
public abstract class WebRequest
{
public abstract string ContentType { get; set; }
}
}
| NetFx Compat Lab | 41.2 % Reference this API 11.4 % Get property 41.2 % Set property |
|---|---|
| nuget.org | 3.4 % Reference this API 0.3 % Get property 3.4 % Set property |
| Upgrade Planner | 2.5 % Reference this API 0.2 % Get property 2.5 % Set property |
| .NET | 5.06.07.08.09.010.0 |
| .NET Core | 1.01.12.02.12.23.03.1 |
| .NET Framework | 1.01.12.03.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
| .NET Standard | 1.01.11.21.31.41.51.62.02.1 |
Information specific to net10.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.0 |
Information specific to net10.0-windows7.0 | |
| Assembly | System.Net.Requests , Version=4.0.10.0, PublicKeyToken=b03f5f7f11d50a3a |
| Referencing | Your project needs a package reference to |
| Package | System.Net.Requests (4.3.0) netstandard1.3 |
| Platform Restrictions | The property getter is supported on all platforms. The property setter is supported on all platforms. |
- Built-in API
- Package-provided API