예제 #1
0
        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);
        }