示例#1
0
 public FileIdentity(long size, Sha256Hash shorthash, Sha256Hash hash)
 {
     Filesize   = size;
     _ShortHash = shorthash;
     _Hash      = hash;
 }
示例#2
0
 public FileIdentity(long size, byte[] shorthash, byte[] hash)
 {
     Filesize   = size;
     _ShortHash = new Sha256Hash(shorthash);
     _Hash      = new Sha256Hash(hash);
 }