共用方式為


SslServerAuthenticationOptions.EncryptionPolicy 屬性

定義

取得或設定 EncryptionPolicy

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

屬性值

預設值為 RequireEncryption

例外狀況

此值包含無效的列舉值。

適用於