Class PropRegister

Register properties have a value represented by raw bytes.

Inheritance
PropRegister
Implements
Namespace: ic4
Assembly: ic4dotnet.dll
Syntax
public class PropRegister : Property, IDisposable
Remarks

PropRegister instances are created in multiple ways:

Properties

Size

The size of a register property

Declaration
public ulong Size { get; }
Property Value
Type Description
ulong
Remarks

The size of a register property is not necessarily constant; it can change depending on the value of other properties.

Value

The current value of the register

The value is only writable is the property's writability is not restricted. See IsLocked, IsReadonly, IsAvailable.

Declaration
public IReadOnlyList<byte> Value { get; set; }
Property Value
Type Description
IReadOnlyList<byte>

A byte array representing the register's contents

Exceptions
Type Condition
IC4Exception

Check ErrorCode and ToString() for details.

Implements