# OpcNodeAccessToken Members

> Reference: Represents the access to one attribute of a node of an OpcNodeManager requested by a read or write operation of a client (see Read and Write).

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcNodeAccessToken</a></dd>
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx.server">Opc.UaFx.Server</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
</dl>

## Properties

### Attribute

Gets the attribute of the [Node](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnodeaccesstoken/members#node) to access.

<div class="api-signature" data-lang="csharp">

```csharp
public OpcAttribute Attribute { get; }
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public ReadOnly Property Attribute As OpcAttribute
```

</div>

**Property value**

[OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/)

One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration.

### Encoding

Gets the data encoding requested for the value to read.

<div class="api-signature" data-lang="csharp">

```csharp
public OpcName Encoding { get; }
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public ReadOnly Property Encoding As OpcName
```

</div>

**Property value**

[OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/)

The [OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/) of the data encoding requested by the client of a read operation; [Null](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/members#null) for a write operation.

### Handle

Gets the handle the stack uses to access the [Node](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnodeaccesstoken/members#node).

<div class="api-signature" data-lang="csharp">

```csharp
public NodeHandle Handle { get; }
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
<CLSCompliant(False)>
Public ReadOnly Property Handle As NodeHandle
```

</div>

**Property value**

<abbr title="OPC Foundation stack type, not documented here: Opc.Ua.Server.NodeHandle">NodeHandle</abbr>

The <abbr title="OPC Foundation stack type, not documented here: Opc.Ua.Server.NodeHandle">NodeHandle</abbr> of the node.

### IndexRange

<span class="api-meta api-meta--obsolete">Obsolete: Use new 'Range' property instead.</span>

Gets the index range of the value to access.

<div class="api-signature" data-lang="csharp">

```csharp
[Obsolete("Use new 'Range' property instead.")]
public NumericRange IndexRange { get; }
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
<CLSCompliant(False)>
<Obsolete("Use new 'Range' property instead.")>
Public ReadOnly Property IndexRange As NumericRange
```

</div>

**Property value**

<abbr title="OPC Foundation stack type, not documented here: Opc.Ua.NumericRange">NumericRange</abbr>

The <abbr title="OPC Foundation stack type, not documented here: Opc.Ua.NumericRange">NumericRange</abbr> of the [Range](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnodeaccesstoken/members#range).

**Remarks**

The property is obsolete; use [Range](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnodeaccesstoken/members#range) instead.

### Node

Gets the node to access.

<div class="api-signature" data-lang="csharp">

```csharp
public IOpcNode Node { get; }
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public ReadOnly Property Node As IOpcNode
```

</div>

**Property value**

[IOpcNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.iopcnode/)

An instance implementing the [IOpcNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.iopcnode/) interface.

### Range

<span class="api-meta">since v2.24</span>

Gets the index range of the value to access.

<div class="api-signature" data-lang="csharp">

```csharp
public OpcRange Range { get; }
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public ReadOnly Property Range As OpcRange
```

</div>

**Property value**

[OpcRange](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcrange/)

The [OpcRange](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcrange/) requested by the client.

### Result

Gets or sets the result of the access.

<div class="api-signature" data-lang="csharp">

```csharp
public OpcResult Result { get; set; }
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Property Result As OpcResult
```

</div>

**Property value**

[OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/)

The [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) of the access.

**Remarks**

The value the token provides after [Read](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnodemanager/members#read) or [Write](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnodemanager/members#write) has returned is reported to the client as the result of the operation.

### Value

Gets the value of the access.

<div class="api-signature" data-lang="csharp">

```csharp
public OpcValue Value { get; }
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public ReadOnly Property Value As OpcValue
```

</div>

**Property value**

[OpcValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcvalue/)

The [OpcValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcvalue/) which receives the value read, or which provides the value to write.
