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 -

python - Error: Unresolved reference 'selenium' What is the reason? -

asp.net ajax - Jquery scroll to element just goes to top of page -