windows - Determine who has a file open using C# - is there a way now? -


i need able check has file open using c#. found few people asked question before long time ago latest being in 2012. wondering if, in last 5 years, has microsoft added ability .net or maybe came out nuget package capable.

here latest answer found

you can use windows internal function ntquerysysteminformation undocumented parameter systemhandleinformation it. don't know c# implementation, know delphy code it, , vb6 code. check links, make c# implementation.

delphi - files opened application

https://forum.sysinternals.com/topic14546.html


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -