Creates a Mono.Unix.StdioFileStream type, wrapping the existing unmanaged FILE pointer fileStream with the specified file access.
- fileStream
- A IntPtr containing a FILE pointer
- 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 ArgumentException fileStream is an invalid FILE pointer.
By default, fileStream is owned by the created Mono.Unix.StdioFileStream instance.
Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0