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

例外

此值包含无效枚举值。

适用于