# OpcClientSecurity Class

> Reference: Defines the different security configurations supported by the OpcClient.

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

Defines the different security configurations supported by the [OpcClient](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/).

## Syntax

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

```csharp
public class OpcClientSecurity : OpcSecurity
```

</div>

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

```vbnet
Public Class OpcClientSecurity
    Inherits OpcSecurity
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → [OpcSecurity](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcsecurity/) → **OpcClientSecurity**

## Properties

| Name | Description |
|---|---|
| [AuthenticationLevel](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclientsecurity/members#authenticationlevel)<span class="api-meta">since v2.25</span> | Gets or sets the level of DCOM authentication to use when connecting to an OPC Classic server and creating DCOM objects. |
| [AuthenticationService](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclientsecurity/members#authenticationservice)<span class="api-meta">since v2.32</span> | Gets or sets the DCOM authentication service to use to identify the security package to use when connecting to an OPC Classic server and creating DCOM objects. |
| [AuthorizationService](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclientsecurity/members#authorizationservice)<span class="api-meta">since v2.32</span> | Gets or sets the DCOM authorization service to use to define what the server authorizes when connecting to an OPC Classic server and creating DCOM objects. |
| [AutoUpgradeEndpointPolicy](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclientsecurity/members#autoupgradeendpointpolicy)<span class="api-meta">since v2.11</span> | Gets or sets a value indicating whether the client have to select an endpoint which uses at least the policy configured by the [EndpointPolicy](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclientsecurity/members#endpointpolicy) and in case there such an endpoint is missing the endpoint with the next best policy is to be used instead. |
| [EndpointPolicy](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclientsecurity/members#endpointpolicy) | Gets or sets the policy configuration of the endpoint of the server to connect to. |
| [ImpersonationLevel](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclientsecurity/members#impersonationlevel)<span class="api-meta">since v2.25</span> | Gets or sets the level of DCOM impersonation to use when connecting to an OPC Classic server and creating DCOM objects. |
| [ProxyCapabilities](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclientsecurity/members#proxycapabilities)<span class="api-meta">since v2.32</span> | Gets or sets the DCOM proxy capabilities to use when connecting to an OPC Classic server and creating DCOM objects. |
| [UseHighLevelEndpoint](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclientsecurity/members#usehighlevelendpoint) | Gets or sets a value indicating whether the client have to select an endpoint which uses the highest policy level available ([Level](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcsecuritypolicy/members#level)). |
| [UseOnlySecureEndpoints](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclientsecurity/members#useonlysecureendpoints) | Gets or sets a value indicating whether the client have to select an endpoint which uses a different [OpcSecurityMode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcsecuritymode/) than [None](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcsecuritymode/#none). |
| [UserIdentity](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclientsecurity/members#useridentity) | Gets or sets the identity to use to authenticate the client sessions against the server. |
| [VerifyServersCertificateDomains](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclientsecurity/members#verifyserverscertificatedomains) | Gets or sets a value indicating whether the client have to verify the domain names referenced in the servers certificate. |

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

## Applies to

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