# OpcEndpointIdentity 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">OpcEndpointIdentity Members</a></dd>
</dl>

Represents the identity of an endpoint, which consists of its URL and its security policy.

## Syntax

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

```csharp
public class OpcEndpointIdentity
```

</div>

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

```vbnet
Public Class OpcEndpointIdentity
```

</div>

## Inheritance

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

## Constructors

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

## Properties

| Name | Description |
|---|---|
| [Policy](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcendpointidentity/members#policy) | Gets the security policy of the endpoint. |
| [Url](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcendpointidentity/members#url) | Gets the URL of the endpoint. |

## Methods

| Name | Description |
|---|---|
| [GetCurrent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcendpointidentity/members#getcurrent)<span class="api-meta">static</span> | Gets the identity of the endpoint through which the server is receiving the request processed by the current thread. |
| [ToString](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcendpointidentity/members#tostring)<span class="api-meta">override</span> | Returns a string that represents the endpoint. |

## Applies to

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