Click or drag to resize

FileInfoIsReadOnly Property

Gets or sets a value that determines if the current file is read only.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public bool IsReadOnly { get; set; }

Property Value

Type: Boolean
if the current file is read only; otherwise, .
Exceptions
Remarks

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.

See Also