readOnly

Type: Boolean

The readOnly property of the JadeBytes class specifies whether the instance can be modified.

This property can be set to true only if the value of the singleFile property is true.

When the value of the readOnly property is set to true, the instance is marked as read-only and attempts to update its content cause exception 1348 or 3182. In addition, the dedicated file has its Read-only attribute set to true, as a hint to external programs that the file contents should not be modified.

When the property is set to false, the instance is marked as able to be updated. In addition, the dedicated file has its Read-only attribute reset.

You should set the value of the readOnly property to true before you expose the dedicated file for direct access by an external process, to prevent that process from updating the file and JADE processes from updating the contents while it is exposed.