FileInfo.Open Method
.NET Framework 4
Opens a file with various read/write and sharing privileges.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
Open(FileMode) | Opens a file in the specified mode. |
|
Open(FileMode, FileAccess) | Opens a file in the specified mode with read, write, or read/write access. |
|
Open(FileMode, FileAccess, FileShare) | Opens a file in the specified mode with read, write, or read/write access and the specified sharing option. |