WindowsStreamSecurityElement.ProtectionLevel Propiedad

Definición

Obtiene o establece la seguridad de nivel de mensaje usada.

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

Valor de propiedad

ProtectionLevel que especifica la seguridad de nivel de mensaje utilizada. El valor predeterminado es EncryptAndSign .

Atributos

Comentarios

Esta propiedad especifica la seguridad de nivel de mensaje utilizada para la firma y el cifrado. La firma de mensajes mitiga el riesgo de que un tercero manipule el mensaje mientras se transfiere. El cifrado proporciona privacidad de nivel de datos durante el transporte.

Se aplica a