public override HashValue ComputeHash(long offset, long length) { try { return(NetworkNode.ComputeHash(this.OperatingNode, this.ServiceType.AlgorithmName, false, offset, length, null, null)); } catch (NodeNotFoundException) { NetworkNodeAndFileAttributes attributes; attributes = this.OperatingNode.Attributes as NetworkNodeAndFileAttributes; if (attributes != null) { attributes.SetValue <bool>("exists", false); } throw; } }
public override HashValue ComputeHash(long offset, long length) { return(NetworkNode.ComputeHash(this.OperatingNode, this.ServiceType.AlgorithmName ?? "null", this.ServiceType.Recursive, offset, length, this.ServiceType.IncludedFileAttributes, this.ServiceType.IncludedDirectoryAttributes)); }