Class FileUtil
- Namespace
- SunamoWinStd
- Assembly
- SunamoWinStd.dll
Provides utilities for detecting which processes have locks on files.
public static class FileUtil
- Inheritance
-
FileUtil
- Inherited Members
Methods
WhoIsLocking(string, bool)
Find out what process(es) have a lock on the specified file.
public static List<Process> WhoIsLocking(string path, bool isThrowingOnError = true)
Parameters
Returns
Remarks
See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa373661(v=vs.85).aspx http://wyupdate.googlecode.com/svn-history/r401/trunk/frmFilesInUse.cs (no copyright in code at time of viewing)