WebRequest::ImpersonationLevel Property
.NET Framework (current version)
Gets or sets the impersonation level for the current request.
Assembly: System (in System.dll)
public: property TokenImpersonationLevel ImpersonationLevel { TokenImpersonationLevel get(); void set(TokenImpersonationLevel value); }
Property Value
Type: System.Security.Principal::TokenImpersonationLevelA TokenImpersonationLevel value.
The impersonation level determines how the server can use the client's credentials.
.NET Framework
Available since 2.0
Available since 2.0
Show: