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

WebRequest::ImpersonationLevel Property

Gets or sets the impersonation level for the current request.

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

public:
property TokenImpersonationLevel ImpersonationLevel {
	TokenImpersonationLevel get ();
	void set (TokenImpersonationLevel value);
}

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft