Edit

Share via


NamedPipeTransportSecurity.ProtectionLevel Property

Definition

Specifies the protection for the named pipe.

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

Property Value

A ProtectionLevel. The default is EncryptAndSign.

Exceptions

The value is not a valid ProtectionLevel.

Remarks

The returned enumeration member indicates the security services requested for the authenticated stream.

Valid values are the following:

Applies to