UtilityTools.FileMode Enumeration
This enumeration is used with UtilityTools.CheckFileAccess method to determine which file access attributes to check on a file. For example, if you just want to determine if a file exists, you can just check for the Existence attribute. To check whether the file exists and the HotDocs Server process is able to read it, check for ReadPermission.
Members
| Member name | Value | Description |
Existence |
0 | Used to check if a file exists or not. |
WritePermission |
2 | Used to check if a file can be written to. |
ReadPermission |
4 | Used to check if a file can be read. |
ReadWritePermission |
6 | Used to check if a file can be both read and written to. |
Existence