Tal Aloni

Results 45 comments of Tal Aloni

Please review your code and ensure that you are not attempting to reuse the existing connection, if I misunderstood the issue, please update.

Thanks for the clarification, I'm assuming each thread is only dealing with its own SMB2Client. Do you use the ReleaseConnection API? Do you use the Disconnect API in a non-trivial...

on any exception (that indicates the connection is unhealthy) the client will close the socket and dispose of the buffer so there is no need to disconnect. However for STATUS_IO_TIMEOUT,...

I was not able to recreate this scenario. it would be helpful if you could help me reproduce the issue.

Closing due to no activity / additional information.

What is the value being represented here? There was a similar issue with a file date set in the year 30280 ( https://github.com/TalAloni/SMBLibrary/pull/183 ) Not all FileTime values can be...

Hi Tylor, same question - what is the value being represented?

Calling DateTime.Now.ToFileTimeUtc() on .NET 8.0 seems to work for me without issues, so I have to suspect that the issue is with the DateTime value.

According to [the docs ](https://learn.microsoft.com/en-us/dotnet/api/system.datetime.tofiletimeutc?view=net-8.0)this exception will be thrown if "The resulting file time would represent a date and time before 12:00 midnight January 1, 1601 C.E. UTC."

You can make an argument for treating any value < year 1601 as DateTime.MinValue, if that's indeed the issue. This can also be done at the INTFileStore implementation level without...