Bagikan melalui


HttpListener.ExtendedProtectionPolicy Properti

Definisi

Mendapatkan atau mengatur ExtendedProtectionPolicy yang akan digunakan untuk perlindungan yang diperpanjang untuk sesi.

public:
 property System::Security::Authentication::ExtendedProtection::ExtendedProtectionPolicy ^ ExtendedProtectionPolicy { System::Security::Authentication::ExtendedProtection::ExtendedProtectionPolicy ^ get(); void set(System::Security::Authentication::ExtendedProtection::ExtendedProtectionPolicy ^ value); };
public System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy ExtendedProtectionPolicy { get; [System.Runtime.Versioning.UnsupportedOSPlatform("browser")] set; }
public System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy ExtendedProtectionPolicy { get; set; }
[<set: System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.ExtendedProtectionPolicy : System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy with get, set
member this.ExtendedProtectionPolicy : System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy with get, set
Public Property ExtendedProtectionPolicy As ExtendedProtectionPolicy

Nilai Properti

ExtendedProtectionPolicy yang menentukan kebijakan yang akan digunakan untuk perlindungan yang diperpanjang.

Atribut

Pengecualian

Upaya dilakukan untuk mengatur ExtendedProtectionPolicy properti , tetapi CustomChannelBinding properti bukan null.

Upaya dilakukan untuk mengatur properti ke ExtendedProtectionPolicynull.

Upaya dilakukan untuk mengatur ExtendedProtectionPolicy properti setelah Start() metode sudah dipanggil.

Objek ini ditutup.

Properti PolicyEnforcement diatur ke Always pada platform yang tidak mendukung perlindungan yang diperpanjang.

Keterangan

Properti ExtendedProtectionPolicy digunakan dengan autentikasi Windows terintegrasi untuk memberikan perlindungan yang diperpanjang. Properti ExtendedProtectionPolicy memungkinkan konfigurasi kebijakan perlindungan yang diperpanjang untuk seluruh HttpListener sesi. Properti ExtendedProtectionSelectorDelegate memungkinkan konfigurasi kebijakan perlindungan yang diperpanjang untuk setiap permintaan individu.

Properti CustomChannelBinding harus null. Instans HttpListener mendapatkan Token Pengikatan Saluran (CBT) langsung dari sesi TLS sendiri jika ada.

Berlaku untuk

Lihat juga