Click or drag to resize
FileLock Class
Utility class for locking files to the current process.
Inheritance Hierarchy
SystemObject
  com.softwarekey.Client.UtilsFileLock

Namespace: com.softwarekey.Client.Utils
Assembly: PLUSManaged (in PLUSManaged.dll) Version: 5.17.4.0
Syntax
public class FileLock

The FileLock type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyFilePath
Gets the absolute path to the file which will be locked to this process.
Public propertyIsLocked
Gets whether or not the target file is presently locked.
Public propertyLastException
Gets the last Exception that occurred (null if none occurred).
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodLock
Locks the target file to the process.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Public methodUnlock
Unlocks the target file.
Top
See Also