protected override void LoadData() { base.LoadData(); this.Information = new SftpFileSytemInformation(this.ReadUInt64(), this.ReadUInt64(), this.ReadUInt64(), this.ReadUInt64(), this.ReadUInt64(), this.ReadUInt64(), this.ReadUInt64(), this.ReadUInt64(), this.ReadUInt64(), this.ReadUInt64(), this.ReadUInt64()); }
protected override void LoadData() { base.LoadData(); this.Information = new SftpFileSytemInformation(this.ReadUInt64(), this.ReadUInt64(), this.ReadUInt64(), this.ReadUInt64(), this.ReadUInt64(), this.ReadUInt64(), this.ReadUInt64(), this.ReadUInt64(), this.ReadUInt64(), this.ReadUInt64(), this.ReadUInt64()); }
public override void LoadData(SshDataStream stream) { Information = new SftpFileSytemInformation(stream.ReadUInt64(), // FileSystemBlockSize stream.ReadUInt64(), // BlockSize stream.ReadUInt64(), // TotalBlocks stream.ReadUInt64(), // FreeBlocks stream.ReadUInt64(), // AvailableBlocks stream.ReadUInt64(), // TotalNodes stream.ReadUInt64(), // FreeNodes stream.ReadUInt64(), // AvailableNodes stream.ReadUInt64(), // Sid stream.ReadUInt64(), // Flags stream.ReadUInt64() // MaxNameLenght ); }
protected override void LoadData() { base.LoadData(); Information = new SftpFileSytemInformation(ReadUInt64(), // FileSystemBlockSize ReadUInt64(), // BlockSize ReadUInt64(), // TotalBlocks ReadUInt64(), // FreeBlocks ReadUInt64(), // AvailableBlocks ReadUInt64(), // TotalNodes ReadUInt64(), // FreeNodes ReadUInt64(), // AvailableNodes ReadUInt64(), // Sid ReadUInt64(), // Flags ReadUInt64() // MaxNameLenght ); }
public void SupportsSetUidTest() { ulong bsize = 0; // TODO: Initialize to an appropriate value ulong frsize = 0; // TODO: Initialize to an appropriate value ulong blocks = 0; // TODO: Initialize to an appropriate value ulong bfree = 0; // TODO: Initialize to an appropriate value ulong bavail = 0; // TODO: Initialize to an appropriate value ulong files = 0; // TODO: Initialize to an appropriate value ulong ffree = 0; // TODO: Initialize to an appropriate value ulong favail = 0; // TODO: Initialize to an appropriate value ulong sid = 0; // TODO: Initialize to an appropriate value ulong flag = 0; // TODO: Initialize to an appropriate value ulong namemax = 0; // TODO: Initialize to an appropriate value SftpFileSytemInformation target = new SftpFileSytemInformation(bsize, frsize, blocks, bfree, bavail, files, ffree, favail, sid, flag, namemax); // TODO: Initialize to an appropriate value bool actual; actual = target.SupportsSetUid; Assert.Inconclusive("Verify the correctness of this test method."); }
public StatVfsResponse Build() { var fileSystemInfo = new SftpFileSytemInformation(_bsize, _frsize, _blocks, _bfree, _bavail, _files, _ffree, _favail, _sid, _flag, _namemax); return(new StatVfsResponse(_protocolVersion) { ResponseId = _responseId, Information = fileSystemInfo }); }
protected void Act() { _actual = _sftpSession.RequestStatVfs("path"); }