FileLock Constructor (String, FileLockFileLockDeleteMode) |
Namespace: com.softwarekey.Client.UtilsAssembly: PLUSManaged (in PLUSManaged.dll) Version: 5.23.4.0
Syntax public FileLock(
string filePath,
FileLockFileLockDeleteMode deleteMode
)
Public Sub New (
filePath As String,
deleteMode As FileLockFileLockDeleteMode
)
public:
FileLock(
String^ filePath,
FileLockFileLockDeleteMode deleteMode
)
Parameters
- filePath
- Type: SystemString
The absolute path to the file which will be locked to this process. - deleteMode
- Type: com.softwarekey.Client.UtilsFileLockFileLockDeleteMode
How and if file deletion is necessary after unlocking the file (FileLockDeleteMode.Never is the default).
See Also