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.23.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
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLock
Locks the target file to the process.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodUnlock
Unlocks the target file.
Top
See Also