WebRequestHandler.AuthenticationLevel 屬性

定義

會取得或設定一個值,表示此請求所使用的驗證與模擬層級。

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

屬性值

這是數值的位元組合 AuthenticationLevel 。 預設值為 MutualAuthRequested

備註

在互認證中,客戶端與伺服器雙方都提供憑證以建立身份。 MutualAuthRequiredMutualAuthRequested值對 Kerberos 認證很重要。 Kerberos 認證可直接支援,或若使用 Negotiate 安全協定選擇實際安全協定即可使用。 欲了解更多認證協議資訊,請參閱 網際網路驗證

適用於