# EndpointDescriptionExtensions Class

> Reference: Provides extension methods to get and set the address and the security policy of an EndpointDescription.

<span class="api-meta">static · since v2.50</span>

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

Provides extension methods to get and set the address and the security policy of an <abbr title="OPC Foundation stack type, not documented here: Opc.Ua.EndpointDescription">EndpointDescription</abbr>.

## Syntax

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

```csharp
public static class EndpointDescriptionExtensions
```

</div>

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

```vbnet
Public Module EndpointDescriptionExtensions
```

</div>

## Inheritance

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

## Methods

| Name | Description |
|---|---|
| [GetAddress](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.endpointdescriptionextensions/members#getaddress)<span class="api-meta">static</span> | Gets the URL of the `endpoint` specified. |
| [GetEndpointPolicy](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.endpointdescriptionextensions/members#getendpointpolicy)<span class="api-meta">static</span> | Gets the security policy of the `endpoint` specified. |
| [SetAddress](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.endpointdescriptionextensions/members#setaddress)<span class="api-meta">static</span> | Sets the URL of the `endpoint` to the `address` specified. |
| [SetEndpointPolicy](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.endpointdescriptionextensions/members#setendpointpolicy)<span class="api-meta">static</span> | Sets the security mode and the security policy URI of the `endpoint` to those of the `endpointPolicy` specified. |

## Applies to

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