Opens path with the specified file access access.
- path
- A string containing the file name to open.
- access
- A System.IO.FileAccess value that determins how the file may be accessed by the Mono.Unix.StdioFileStream object. This parameter is used to specify the initial values of the System.IO.Stream.CanRead and System.IO.Stream.CanWrite properties.
Type Reason ArgumentNullException path or mode is null. ArgumentException path is a 0-length string. System.IO.DirectoryNotFoundException path could not be opened. ArgumentOutOfRangeException access is not one of System.IO.FileAccess.Read, System.IO.FileAccess.Write, or System.IO.FileAccess.ReadWrite.
Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0