Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ImpersonationLevel Property

WebRequestHandler.ImpersonationLevel Property

.NET Framework 4.6 and 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)

member ImpersonationLevel : TokenImpersonationLevel with 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
Show:
© 2015 Microsoft