UweKeim / ZetaLongPaths

A .NET library to access files and directories with more than 260 characters length.

Home Page:https://nuget.org/packages/ZetaLongPaths

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error 0

andreweberle opened this issue · comments

First of all, thank you for all your hard work you have put in in making this project.

Getting Error Code 0 when reading a files information eg owner and so on.
I'm thinking it might have something to do with getting these file properties if the file is currently in use?

I have however made a work around by streaming the file first and if it can stream, then that means the file is not locked, however if it cant, it means the file is locked and in use.

Seems to have solved my issue, well for now, however I was wondering if Error 0 is possibly something else?

Could you provide a MCVE?

Certainly can when I'm in the office tomorrow morning, Australian time.

Any update on this, @andreweberle?

Since I got no feedback, closing now. Feel free to open again, once you have a MCVE.