WindowsStreamSecurityElement.ProtectionLevel Propriedade

Definição

Obtém ou define a segurança ao nível da mensagem utilizada.

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 Propriedade

A ProtectionLevel que especifica a segurança ao nível da mensagem utilizada. O valor padrão é EncryptAndSign .

Atributos

Observações

Esta propriedade especifica a segurança ao nível da mensagem usada para assinatura e encriptação. Assinar mensagens reduz o risco de um terceiro manipular a mensagem enquanto esta está a ser transferida. A encriptação proporciona privacidade ao nível dos dados durante o transporte.

Aplica-se a