FileInfoOpenRead Method |
Namespace: System.IO
Exception | Condition |
---|---|
UnauthorizedAccessException | path is read-only or is a directory. |
DirectoryNotFoundException | The specified path is invalid, such as being on an unmapped drive. |
IOException | The file is already open. |