The FileShare enumeration contains possibilities of shared access to an opened file.
It is used by the following properties and methods:
Value | Brief description |
0 | Exclusive. Exclusive work with a file. |
1 | DenyWrite. Deny to write into a file. |
2 | DenyRead. Deny to read from a file. |
3 | DenyNone. Shared access. |
See also: