Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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
Available since 2.0
Return to top
Show:
© 2017 Microsoft