# OpcTransportProfiles Members

> Reference: Provides the URIs of the transport profiles of OPC UA.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcTransportProfiles</a></dd>
<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>
</dl>

## Fields

### HttpsBinary

<span class="api-meta">static</span>

The URI of the transport profile HTTPS with the binary encoding.

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

```csharp
public static readonly Uri HttpsBinary
```

</div>

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

```vbnet
Public Shared ReadOnly HttpsBinary As Uri
```

</div>

**Field value**

[Uri](https://learn.microsoft.com/dotnet/api/system.uri)

### UaTcp

<span class="api-meta">static</span>

The URI of the transport profile UA TCP with the binary encoding.

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

```csharp
public static readonly Uri UaTcp
```

</div>

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

```vbnet
Public Shared ReadOnly UaTcp As Uri
```

</div>

**Field value**

[Uri](https://learn.microsoft.com/dotnet/api/system.uri)

## Methods

### GetProfileUri

<span class="api-meta">static</span>

Gets the URI of the transport `profile` specified.

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

```csharp
public static Uri GetProfileUri(OpcTransportProfile profile)
```

</div>

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

```vbnet
Public Shared Function GetProfileUri(profile As OpcTransportProfile) As Uri
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `profile` | [OpcTransportProfile](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctransportprofile/) | The transport profile whose URI is to be returned. |

**Returns**

[Uri](https://learn.microsoft.com/dotnet/api/system.uri)

The [HttpsBinary](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctransportprofiles/members#httpsbinary) or the [UaTcp](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctransportprofiles/members#uatcp) URI.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `profile` is not a member of [OpcTransportProfile](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctransportprofile/). |
