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