# OpcApplicationConfiguration Class

<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">OpcApplicationConfiguration Members</a></dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Represents the configuration of an OPC UA application, which completes missing settings using the defaults of the SDK.

## Syntax

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

```csharp
[DataContract(Namespace = "http://opcfoundation.org/UA/SDK/Configuration.xsd")]
public class OpcApplicationConfiguration : ApplicationConfiguration
```

</div>

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

```vbnet
<CLSCompliant(False)>
<DataContract(Namespace:="http://opcfoundation.org/UA/SDK/Configuration.xsd")>
Public Class OpcApplicationConfiguration
    Inherits ApplicationConfiguration
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → <abbr title="OPC Foundation stack type, not documented here: Opc.Ua.ApplicationConfiguration">ApplicationConfiguration</abbr> → **OpcApplicationConfiguration**

## Constructors

| Name | Description |
|---|---|
| [OpcApplicationConfiguration](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcapplicationconfiguration/members#opcapplicationconfiguration)<span class="api-meta">2 overloads</span> | Initializes a new instance of the OpcApplicationConfiguration class using the defaults of the SDK. |

## Methods

| Name | Description |
|---|---|
| [LoadClientConfig](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcapplicationconfiguration/members#loadclientconfig)<span class="api-meta">static</span> | Loads the configuration of a client from the configuration file named after the `configSectionName` specified. |
| [LoadClientConfigFile](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcapplicationconfiguration/members#loadclientconfigfile)<span class="api-meta">static</span> | Loads the configuration of a client from the file specified. |
| [LoadClientServerConfig](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcapplicationconfiguration/members#loadclientserverconfig)<span class="api-meta">static</span> | Loads the configuration of an application which is a client and a server from the configuration file named after the `configSectionName` specified. |
| [LoadClientServerConfigFile](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcapplicationconfiguration/members#loadclientserverconfigfile)<span class="api-meta">static</span> | Loads the configuration of an application which is a client and a server from the file specified. |
| [LoadDiscoveryServerConfig](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcapplicationconfiguration/members#loaddiscoveryserverconfig)<span class="api-meta">static</span> | Loads the configuration of a discovery server from the configuration file named after the `configSectionName` specified. |
| [LoadDiscoveryServerConfigFile](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcapplicationconfiguration/members#loaddiscoveryserverconfigfile)<span class="api-meta">static</span> | Loads the configuration of a discovery server from the file specified. |
| [LoadFromConfig](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcapplicationconfiguration/members#loadfromconfig)<span class="api-meta">static</span> | Loads an application configuration from the configuration file named after the `configSectionName` specified. |
| [LoadFromConfigFile](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcapplicationconfiguration/members#loadfromconfigfile)<span class="api-meta">static</span> | Loads an application configuration from the file specified. |
| [LoadServerConfig](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcapplicationconfiguration/members#loadserverconfig)<span class="api-meta">static</span> | Loads the configuration of a server from the configuration file named after the `configSectionName` specified. |
| [LoadServerConfigFile](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcapplicationconfiguration/members#loadserverconfigfile)<span class="api-meta">static</span> | Loads the configuration of a server from the file specified. |
| [Validate](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcapplicationconfiguration/members#validate)<span class="api-meta">2 overloads</span> | Ensures that the application configuration is valid. |

## Applies to

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