WindowsStreamSecurityElement.ProtectionLevel Eigenschap

Definitie

Hiermee haalt u de gebruikte beveiliging op berichtniveau op of stelt u deze in.

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

Waarde van eigenschap

Een ProtectionLevel die de beveiliging op berichtniveau aangeeft die wordt gebruikt. De standaardwaarde is EncryptAndSign .

Kenmerken

Opmerkingen

Met deze eigenschap geeft u de beveiliging op berichtniveau op die wordt gebruikt voor ondertekening en versleuteling. Met ondertekeningsberichten wordt het risico beperkt dat een derde partij knoeit met het bericht terwijl het wordt overgedragen. Versleuteling biedt privacy op gegevensniveau tijdens het transport.

Van toepassing op