Example #1
0
 /// <summary>
 /// 创建 <see cref="MagnetProtocolXtHashedBase" />  的新实例(MagnetProtocolXtHashedBase)
 /// </summary>
 public MagnetProtocolXtHashedBase(MagnetProtocolXtType type, string hashString)
     : base(type)
 {
     HashString = hashString;
 }
Example #2
0
 /// <summary>
 /// 创建 <see cref="MagnetProtocolXtBase" />  的新实例(MagnetProtocolXtBase)
 /// </summary>
 protected MagnetProtocolXtBase(MagnetProtocolXtType type)
 {
     Type = type;
 }
Example #3
0
 /// <summary>
 /// 创建 <see cref="MagnetProtocolXtHashedBase" />  的新实例(MagnetProtocolXtHashedBase)
 /// </summary>
 public MagnetProtocolXtHashedBase(MagnetProtocolXtType type, byte[] hash)
     : base(type)
 {
     Hash = hash;
 }