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