# OpcClientApplication Class

> Reference: Represents an application which hosts an OpcClient and connects it to the server when the application is run.

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

Represents an application which hosts an [OpcClient](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/) and connects it to the server when the application is run.

## Syntax

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

```csharp
public class OpcClientApplication : OpcClientApplication<OpcClient>
```

</div>

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

```vbnet
<CLSCompliant(False)>
Public Class OpcClientApplication
    Inherits OpcClientApplication(Of OpcClient)
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → [OpcApplication](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcapplication/) → [OpcClientApplication](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclientapplication-1/)&lt;[OpcClient](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/)&gt; → **OpcClientApplication**

## Implements

<ul class="api-implements">
<li><a href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></li>
<li><a href="../opc.uafx.iopcapplication/">IOpcApplication</a></li>
</ul>

## Constructors

| Name | Description |
|---|---|
| [OpcClientApplication](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclientapplication/members#opcclientapplication)<span class="api-meta">3 overloads</span> | Initializes a new instance of the OpcClientApplication class using the `client` specified. |

Inherits members from [OpcClientApplication&lt;OpcClient&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclientapplication-1/members), [OpcApplication](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcapplication/members).

## Applies to

| Package | Versions |
|---|---|
| Opc.UaFx.Advanced | v2.5–v2.59 |
