NamedPipeTransportSecurity.ProtectionLevel Propriété

Définition

Spécifie la protection du canal nommé.

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

Valeur de propriété

Un ProtectionLevel. La valeur par défaut est EncryptAndSign.

Exceptions

La valeur n’est pas valide ProtectionLevel.

Remarques

Le membre d’énumération retourné indique les services de sécurité demandés pour le flux authentifié.

Les valeurs valides sont les suivantes :

S’applique à