Skip to content

Reference

OpcSocketIdentity Members

Represents the local and the remote endpoint of a connection (see Socket).

Reference

OpcSocketIdentity Members ​

Type
OpcSocketIdentity
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0

Constructors ​

OpcSocketIdentity ​

Initializes a new instance of the OpcSocketIdentity class using the localEndpoint and remoteEndpoint specified.

csharp
public OpcSocketIdentity(EndPoint localEndpoint, EndPoint remoteEndpoint)
vbnet
Public Sub New(localEndpoint As EndPoint, remoteEndpoint As EndPoint)

Parameters

NameTypeDescription
localEndpointEndPointThe local endpoint of the connection.
remoteEndpointEndPointThe remote endpoint of the connection.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe localEndpoint or the remoteEndpoint is a null reference (Nothing in Visual Basic).

Properties ​

LocalEndpoint ​

Gets the local endpoint of the connection.

csharp
public EndPoint LocalEndpoint { get; }
vbnet
Public ReadOnly Property LocalEndpoint As EndPoint

Property value

EndPoint

The local endpoint of the connection.

RemoteEndpoint ​

Gets the remote endpoint of the connection.

csharp
public EndPoint RemoteEndpoint { get; }
vbnet
Public ReadOnly Property RemoteEndpoint As EndPoint

Property value

EndPoint

The remote endpoint of the connection.

Methods ​

ToString ​

override

Returns a string that represents the connection.

csharp
public override string ToString()
vbnet
Public Overrides Function ToString() As String

Returns

String

A string containing the LocalEndpoint and the RemoteEndpoint.

Overrides

ToString()