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)); }
protected override INode DoMoveTo(INode target, bool overwrite) { NetworkNode.DoMoveTo(this, target, base.MoveTo, overwrite); return(this); }
protected override IDirectory DoDelete(bool recursive) { NetworkNode.DoDelete(this, true); return(this); }
protected override INode DoDelete() { NetworkNode.DoDelete(this, false); return(this); }
public override INode DoCreate(bool createParent) { NetworkNode.DoCreate(this, createParent); return(this); }