SslStream.KeyExchangeAlgorithm プロパティ
メモ : このプロパティは、.NET Framework version 2.0 で新しく追加されたものです。
この SslStream が使用するキー交換アルゴリズムを取得します。
名前空間: System.Net.Security
アセンブリ: System (system.dll 内)
構文
public: virtual property ExchangeAlgorithmType KeyExchangeAlgorithm { ExchangeAlgorithmType get (); }
プロパティ値
ExchangeAlgorithmType 値です。


指定したストリームの暗号化設定を表示するコード例を次に示します。
static void DisplaySecurityLevel(SslStream stream) { Console.WriteLine("Cipher: {0} strength {1}", stream.CipherAlgorithm, stream.CipherStrength); Console.WriteLine("Hash: {0} strength {1}", stream.HashAlgorithm, stream.HashStrength); Console.WriteLine("Key exchange: {0} strength {1}", stream.KeyExchangeAlgorithm, stream.KeyExchangeStrength); Console.WriteLine("Protocol: {0}", stream.SslProtocol); }

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- SslStream.KeyExchangeAlgorithm プロパティのページへのリンク