Read-only. Indicates that the stream is associated with a read-only file.
Boolean
To get: flag = notesStream.IsReadOnly
This property is True if the stream is opened to a read-only file. Otherwise it is False.
Write operations on a read-only file raise an error.
IsReadOnly property in Java Stream class
See examples