NamedPipeTransportSecurityElement.ProtectionLevel 属性

定义

为此命名管道指定保护。

public:
 property System::Net::Security::ProtectionLevel ProtectionLevel { System::Net::Security::ProtectionLevel get(); void set(System::Net::Security::ProtectionLevel value); };
[System.Configuration.ConfigurationProperty("protectionLevel", DefaultValue=System.Net.Security.ProtectionLevel.EncryptAndSign)]
public System.Net.Security.ProtectionLevel ProtectionLevel { get; set; }
[<System.Configuration.ConfigurationProperty("protectionLevel", DefaultValue=System.Net.Security.ProtectionLevel.EncryptAndSign)>]
member this.ProtectionLevel : System.Net.Security.ProtectionLevel with get, set
Public Property ProtectionLevel As ProtectionLevel

属性值

ProtectionLevel

ProtectionLevel。 默认值为 EncryptAndSign

属性

适用于