WebRequest.ImpersonationLevel 屬性

定義

取得或設定目前要求的模擬等級。

public:
 property System::Security::Principal::TokenImpersonationLevel ImpersonationLevel { System::Security::Principal::TokenImpersonationLevel get(); void set(System::Security::Principal::TokenImpersonationLevel value); };
public System.Security.Principal.TokenImpersonationLevel ImpersonationLevel { get; set; }
member this.ImpersonationLevel : System.Security.Principal.TokenImpersonationLevel with get, set
Public Property ImpersonationLevel As TokenImpersonationLevel

屬性值

TokenImpersonationLevel

TokenImpersonationLevel 值。

備註

模擬層級會決定伺服器如何使用用戶端的認證。

適用於