Share via


TcpTransportSecurityElement.ProtectionLevel Propriété

Définition

Obtient ou définit une valeur qui définit la sécurité au niveau des messages pour le canal nommé.

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

Valeur de propriété

Valeur ProtectionLevel qui définit la sécurité au niveau des messages pour le canal nommé.

Attributs

Remarques

La signature des messages limite le risque qu'un tiers puisse falsifier le message pendant son transfert. Le chiffrement garantit la confidentialité des données pendant le transport.

S’applique à