# OpcEndpointConfiguration Class

> Reference: Represents the limits and timeouts used to communicate with an endpoint (see Configuration).

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

Represents the limits and timeouts used to communicate with an endpoint (see [Configuration](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdiscoveryclient/members#configuration)).

## Syntax

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

```csharp
public class OpcEndpointConfiguration
```

</div>

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

```vbnet
Public Class OpcEndpointConfiguration
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → **OpcEndpointConfiguration**

## Constructors

| Name | Description |
|---|---|
| [OpcEndpointConfiguration](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcendpointconfiguration/members#opcendpointconfiguration) | Initializes a new instance of the OpcEndpointConfiguration class using the default values of the OPC UA stack. |

## Properties

| Name | Description |
|---|---|
| [ChannelLifetime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcendpointconfiguration/members#channellifetime) | Gets or sets the lifetime of a secure channel in milliseconds. |
| [MaxArrayLength](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcendpointconfiguration/members#maxarraylength) | Gets or sets the maximum length of an array encoded in a message body. |
| [MaxBufferSize](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcendpointconfiguration/members#maxbuffersize) | Gets or sets the maximum size of the buffer to use when sending messages. |
| [MaxByteStringLength](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcendpointconfiguration/members#maxbytestringlength) | Gets or sets the maximum length of a byte string encoded in a message body. |
| [MaxMessageSize](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcendpointconfiguration/members#maxmessagesize) | Gets or sets the maximum length of a message body in bytes. |
| [MaxStringLength](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcendpointconfiguration/members#maxstringlength) | Gets or sets the maximum length of a string encoded in a message body. |
| [OperationTimeout](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcendpointconfiguration/members#operationtimeout) | Gets or sets the timeout to use when sending requests in milliseconds. |
| [SecurityTokenLifetime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcendpointconfiguration/members#securitytokenlifetime) | Gets or sets the lifetime of a security token in milliseconds. |
| [UseBinaryEncoding](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcendpointconfiguration/members#usebinaryencoding) | Gets or sets a value indicating whether messages are encoded using the binary encoding. |

## Methods

| Name | Description |
|---|---|
| [From](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcendpointconfiguration/members#from)<span class="api-meta">static</span> | Creates an OpcEndpointConfiguration using the transport quotas of the `configuration` specified. |

## Applies to

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