# OpcClient.KeepAlive Property

> Reference: Gets the keep-alive options used by the OpcClient to monitor an established connection and recover from unexpected disconnection.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcClient</a></dd>
<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">OpcClient Members</a></dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

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

Gets the keep-alive options used by the [OpcClient](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/) to monitor an established connection and recover from unexpected disconnection.

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

```csharp
public OpcClientKeepAlive KeepAlive { get; }
```

</div>

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

```vbnet
Public ReadOnly Property KeepAlive As OpcClientKeepAlive
```

</div>

**Property value**

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

An instance of the [OpcClientKeepAlive](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclientkeepalive/) class which is associated with this [OpcClient](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/).
