WebRequest.ImpersonationLevel Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the impersonation level for the current request.

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

public TokenImpersonationLevel ImpersonationLevel { get; set; }

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

.NET Framework
Available since 2.0
Return to top