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
| Name | Type | Description |
|---|---|---|
localEndpoint | EndPoint | The local endpoint of the connection. |
remoteEndpoint | EndPoint | The remote endpoint of the connection. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The localEndpoint or the remoteEndpoint is a null reference ( |
Properties
LocalEndpoint
Gets the local endpoint of the connection.
csharp
public EndPoint LocalEndpoint { get; }vbnet
Public ReadOnly Property LocalEndpoint As EndPointProperty value
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 EndPointProperty value
The remote endpoint of the connection.
Methods
ToString
Returns a string that represents the connection.
csharp
public override string ToString()vbnet
Public Overrides Function ToString() As StringReturns
A string containing the LocalEndpoint and the RemoteEndpoint.
Overrides

