FileInfoIsReadOnly Property |
Namespace: Alphaleonis.Win32.Filesystem
Exception | Condition |
---|---|
FileNotFoundException | The file described by the current FileInfo object could not be found. |
IOException | An I/O error occurred while opening the file. |
Use the IsReadOnly property to quickly determine or change whether the current file is read only.
When first called, FileInfo calls Refresh and caches information about the file.
On subsequent calls, you must call Refresh to get the latest copy of the information.