public bool CheckFile(string path) { Thread.Sleep(WaitTime); if (File.Exists(path)) { return(FileInUseChecker.CheckFile(path, 500)); } return(File.Exists(string.Concat(path, ".evtc")) && FileInUseChecker.CheckFile(string.Concat(path, ".evtc"), 500)); }
public bool CheckFile(string path) { return(FileInUseChecker.CheckFile(path, WaitTime)); }