| | | 1 | | using Renci.SshNet.Common; |
| | | 2 | | |
| | | 3 | | namespace Renci.SshNet.Sftp.Responses |
| | | 4 | | { |
| | | 5 | | internal sealed class StatVfsReplyInfo : ExtendedReplyInfo |
| | | 6 | | { |
| | 30 | 7 | | public SftpFileSytemInformation Information { get; private set; } |
| | | 8 | | |
| | | 9 | | public override void LoadData(SshDataStream stream) |
| | 12 | 10 | | { |
| | 12 | 11 | | Information = new SftpFileSytemInformation(stream.ReadUInt64(), // FileSystemBlockSize |
| | 12 | 12 | | stream.ReadUInt64(), // BlockSize |
| | 12 | 13 | | stream.ReadUInt64(), // TotalBlocks |
| | 12 | 14 | | stream.ReadUInt64(), // FreeBlocks |
| | 12 | 15 | | stream.ReadUInt64(), // AvailableBlocks |
| | 12 | 16 | | stream.ReadUInt64(), // TotalNodes |
| | 12 | 17 | | stream.ReadUInt64(), // FreeNodes |
| | 12 | 18 | | stream.ReadUInt64(), // AvailableNodes |
| | 12 | 19 | | stream.ReadUInt64(), // Sid |
| | 12 | 20 | | stream.ReadUInt64(), // Flags |
| | 12 | 21 | | stream.ReadUInt64()); // MaxNameLenght |
| | 12 | 22 | | } |
| | | 23 | | } |
| | | 24 | | } |