mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-07-25 10:28:15 +02:00
QueryInformationHelper: Bugfix: LastChangeTime was not correctly set
This commit is contained in:
parent
20cbbd0ae5
commit
03e2621fb0
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ namespace SMBLibrary.SMB1
|
|||
result.CreationTime = fileBasicInfo.CreationTime;
|
||||
result.LastAccessTime = fileBasicInfo.LastAccessTime;
|
||||
result.LastWriteTime = fileBasicInfo.LastWriteTime;
|
||||
result.LastChangeTime = fileBasicInfo.LastWriteTime;
|
||||
result.LastChangeTime = fileBasicInfo.ChangeTime;
|
||||
result.ExtFileAttributes = (ExtendedFileAttributes)fileBasicInfo.FileAttributes;
|
||||
return result;
|
||||
}
|
||||
|
@ -83,7 +83,7 @@ namespace SMBLibrary.SMB1
|
|||
result.CreationDateTime = fileAllInfo.BasicInformation.CreationTime;
|
||||
result.LastAccessDateTime = fileAllInfo.BasicInformation.LastAccessTime;
|
||||
result.LastWriteDateTime = fileAllInfo.BasicInformation.LastWriteTime;
|
||||
result.LastChangeTime = fileAllInfo.BasicInformation.LastWriteTime;
|
||||
result.LastChangeTime = fileAllInfo.BasicInformation.ChangeTime;
|
||||
result.ExtFileAttributes = (ExtendedFileAttributes)fileAllInfo.BasicInformation.FileAttributes;
|
||||
result.AllocationSize = fileAllInfo.StandardInformation.AllocationSize;
|
||||
result.EndOfFile = fileAllInfo.StandardInformation.EndOfFile;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue