UtilityTools.CheckFileAccess Method
Determine the ability of the HotDocsServer process to access a file.
Syntax
bool CheckFileAccess(string filePath, FileMode mode);
Parameters | Description |
filePath | The path of the file to determine access to. |
mode | A FileMode enumerated value indicating what type of access you would like to test for. CheckFileAccess can be used to determine existence, read access, write access, and read/write access. |
Return Value
Returns true if the requested access is available.