次の方法で共有


MessagePropertyFilter.EncryptionAlgorithm プロパティ

メッセージを受信またはピークするときに Message.EncryptionAlgorithm プロパティ情報を取得するかどうかを示す値を取得または設定します。

Public Property EncryptionAlgorithm As Boolean
[C#]
public bool EncryptionAlgorithm {get; set;}
[C++]
public: __property bool get_EncryptionAlgorithm();public: __property void set_EncryptionAlgorithm(bool);
[JScript]
public function get EncryptionAlgorithm() : Boolean;public function set EncryptionAlgorithm(Boolean);

プロパティ値

Message.EncryptionAlgorithm 情報を受信する場合は true 。それ以外の場合は false 。既定値は false です。

解説

メッセージがプライベートの場合、メッセージは送信される前に暗号化され、受信されるときに解読されます。 Message クラスの EncryptionAlgorithm プロパティは、プライベート メッセージの本文を暗号化するのに使用する、アルゴリズムを指定します。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

MessagePropertyFilter クラス | MessagePropertyFilter メンバ | System.Messaging 名前空間 | Message.EncryptionAlgorithm | MessageQueue