コード例 #1
0
ファイル: FileLock.cs プロジェクト: Rain0Ash/NetExtender
        public Boolean ReleaseLock()
        {
            //Need to own the lock in order to release it (and we can reacquire the lock inside the current process)
            if (LockHelper.LockExists(Path) && TryAcquireLock())
            {
                LockHelper.DeleteLock(Path);
            }

            return(true);
        }