mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-05-30 01:09:53 +02:00
SMB1Helper: ReadNullableFileTime: Return DateTime in UTC for negative values
This commit is contained in:
parent
2160419925
commit
74b4a83635
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ namespace SMBLibrary.SMB1
|
|||
else
|
||||
{
|
||||
// Tick = 100ns
|
||||
return DateTime.Now.Subtract(TimeSpan.FromTicks(span));
|
||||
return DateTime.UtcNow.Subtract(TimeSpan.FromTicks(span));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue