Enum FileOpenMode
Mode to open files.
public enum FileOpenMode
Fields
Append = 3
Open a file for appending data at the end. If the file doesn't exist it will throw an exception. Requires writing permissions.
Read = 0
Open the file for reading. If the file doesn't exist it will throw a FileNotFound exception. Requires reading permissions.
ReadWrite = 2
Open a file for reading and/or writing. If the file doesn't exist it wll be created. If the file exists it will start writing from the beginning but not truncated. Requires reading and writing permissions.
Write = 1
Open a file for writing. If the file doesn't exist it will be created. If the file exists it will be truncated and start writing from the beginning. Requires writing permissions.