| FileLock Class |
Namespace: com.softwarekey.Client.Utils
The FileLock type exposes the following members.
| Name | Description | |
|---|---|---|
| FileLock(String) | Creates a new FileLock object. | |
| FileLock(String, FileLockFileLockDeleteMode) | Creates a new FileLock object. | |
| FileLock(String, Boolean, FileLockFileLockDeleteMode) | Creates a new FileLock object. |
| Name | Description | |
|---|---|---|
| FilePath | Gets the absolute path to the file which will be locked to this process. | |
| IsLocked | Gets whether or not the target file is presently locked. | |
| LastException | Gets the last Exception that occurred (null if none occurred). |
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Lock | Locks the target file to the process. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | (Inherited from Object.) | |
| Unlock | Unlocks the target file. |