WindowsStreamSecurityElement.ProtectionLevel プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
使用されるメッセージ レベルのセキュリティを取得または設定します。
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
プロパティ値
使用するメッセージ レベルのセキュリティを指定する ProtectionLevel 。 既定値は EncryptAndSign です。
- 属性
注釈
このプロパティは、署名と暗号化に使用されるメッセージ レベルのセキュリティを指定します。 メッセージに署名すると、転送中にサード パーティがメッセージを改ざんするリスクが軽減されます。 暗号化により、転送中のデータ レベルのプライバシーが提供されます。