FileInfoIsReadOnly Property |
Namespace: Alphaleonis.Win32.Filesystem
Exception | Condition |
---|---|
FileNotFoundException | |
IOException |
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.