# OpcContext.Local Members

> Reference: Represents an OpcContext entered by Enter, which knows only the namespaces specified and is used to encode and decode data without a client or server.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcContext.Local</a></dd>
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx">Opc.UaFx</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Inherits members from [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/members).

## Methods

### Dispose

Releases all resources used by the [OpcContext.Local](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext.local/).

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

```csharp
public void Dispose()
```

</div>

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

```vbnet
Public Sub Dispose()
```

</div>

**Implements**

[Dispose()](https://learn.microsoft.com/dotnet/api/system.idisposable.dispose)
