コード例 #1
0
ファイル: TLSHandshakeMessages.cs プロジェクト: quangfox/Voip
 public void DebugDump()
 {
     System.Diagnostics.Debug.WriteLine("HandShakeServerHello, Version: {0}", Version);
     RandomStruct.DebugDump();
     System.Diagnostics.Debug.WriteLine("   SessionId: {0}", ByteHelper.HexStringFromByte(SessionID, true, int.MaxValue));
     System.Diagnostics.Debug.WriteLine("   Cipher Suite: {0}", CipherSuite);
     System.Diagnostics.Debug.WriteLine("   Compression Method: {0}", CompressionMethod);
     System.Diagnostics.Debug.WriteLine("");
 }
コード例 #2
0
ファイル: TLSHandshakeMessages.cs プロジェクト: quangfox/Voip
 public void DebugDump()
 {
     System.Diagnostics.Debug.WriteLine("HandShakeClientHello, Version: {0}", Version);
     RandomStruct.DebugDump();
     System.Diagnostics.Debug.WriteLine("   SessionId: {0}", ByteHelper.HexStringFromByte(SessionID, true, int.MaxValue));
     System.Diagnostics.Debug.WriteLine("   Cipher Suites:");
     foreach (CipherSuite suit in CipherSuites)
     {
         System.Diagnostics.Debug.WriteLine("      {0}", suit);
     }
     System.Diagnostics.Debug.WriteLine("   Compression Methods:");
     foreach (CompressionMethod method in CompressionMethods)
     {
         System.Diagnostics.Debug.WriteLine("      {0}", method);
     }
     System.Diagnostics.Debug.WriteLine("");
 }