# OpcServiceRequestHeader Members

> Reference: Represents the common parameters of the request of a service, as defined by the RequestHeader of OPC UA.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcServiceRequestHeader</a></dd>
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx.services">Opc.UaFx.Services</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

## Constructors

### OpcServiceRequestHeader

Initializes a new instance of the [OpcServiceRequestHeader](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcservicerequestheader/) class.

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

```csharp
public OpcServiceRequestHeader()
```

</div>

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

```vbnet
Public Sub New()
```

</div>

## Properties

### LocalEndpoint

Gets the local endpoint of the connection on which a server received the request.

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

```csharp
public EndPoint LocalEndpoint { get; }
```

</div>

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

```vbnet
Public ReadOnly Property LocalEndpoint As EndPoint
```

</div>

**Property value**

[EndPoint](https://learn.microsoft.com/dotnet/api/system.net.endpoint)

The local [EndPoint](https://learn.microsoft.com/dotnet/api/system.net.endpoint) of the server, or a null reference (Nothing in Visual Basic) if the header has not been received by a server or the connection does not provide it.

### RemoteEndpoint

Gets the remote endpoint of the connection on which a server received the request.

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

```csharp
public EndPoint RemoteEndpoint { get; }
```

</div>

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

```vbnet
Public ReadOnly Property RemoteEndpoint As EndPoint
```

</div>

**Property value**

[EndPoint](https://learn.microsoft.com/dotnet/api/system.net.endpoint)

The [EndPoint](https://learn.microsoft.com/dotnet/api/system.net.endpoint) of the client, or a null reference (Nothing in Visual Basic) if the header has not been received by a server or the connection does not provide it.

### TimeoutHint

Gets or sets the time in milliseconds after which the request is to be cancelled.

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

```csharp
public long TimeoutHint { get; set; }
```

</div>

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

```vbnet
Public Property TimeoutHint As Long
```

</div>

**Property value**

[Int64](https://learn.microsoft.com/dotnet/api/system.int64)

The timeout of the request in milliseconds, or 0 for no timeout.

**Implements**

[TimeoutHint](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.iopcservicerequestheader/members#timeouthint)

**Remarks**

The value is stored as an unsigned 32-bit integer; values less than 0 or greater than [MaxValue](https://learn.microsoft.com/dotnet/api/system.uint32.maxvalue) are not stored as specified.

### Timestamp

Gets or sets the time the request has been sent.

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

```csharp
public DateTime Timestamp { get; set; }
```

</div>

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

```vbnet
Public Property Timestamp As Date
```

</div>

**Property value**

[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)

The time the client sent the request.

**Implements**

[Timestamp](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.iopcservicerequestheader/members#timestamp)
