Click or drag to resize
FileLock Constructor (String, Boolean, FileLockFileLockDeleteMode)
Creates a new FileLock object.

Namespace: com.softwarekey.Client.Utils
Assembly: PLUSManaged (in PLUSManaged.dll) Version: 5.17.4.0
Syntax
public FileLock(
	string filePath,
	bool createMissing,
	FileLockFileLockDeleteMode deleteMode
)

Parameters

filePath
Type: SystemString
The absolute path to the file which will be locked to this process.
createMissing
Type: SystemBoolean
Whether or not to create the file if it is missing. Creation occurs when attempting to lock the file with the Lock method.
deleteMode
Type: com.softwarekey.Client.UtilsFileLockFileLockDeleteMode
How and if file deletion is necessary after unlocking the file (FileLockDeleteMode.Never is the default).
See Also