Esempio n. 1
0
 public SetFileBasicInfo(byte[] buffer, int offset)
 {
     CreationTime      = SMBHelper.ReadSetFileTime(buffer, offset + 0);
     LastAccessTime    = SMBHelper.ReadSetFileTime(buffer, offset + 8);
     LastWriteTime     = SMBHelper.ReadSetFileTime(buffer, offset + 16);
     LastChangeTime    = SMBHelper.ReadSetFileTime(buffer, offset + 24);
     ExtFileAttributes = (ExtendedFileAttributes)LittleEndianConverter.ToUInt32(buffer, offset + 32);
     Reserved          = LittleEndianConverter.ToUInt32(buffer, offset + 36);
 }