Export (0) Print
Expand All

WebRequestHandler.ImpersonationLevel Property

.NET Framework 4.5

Gets or sets the impersonation level for the current request.

Namespace:  System.Net.Http
Assembly:  System.Net.Http.WebRequest (in System.Net.Http.WebRequest.dll)

public TokenImpersonationLevel ImpersonationLevel { get; set; }

Property Value

Type: System.Security.Principal.TokenImpersonationLevel
Returns TokenImpersonationLevel.
The impersonation level for the request. The default is Delegation.

The impersonation level determines how the server can use the client's credentials.

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft