OPC Studio User's Guide and Reference
GetClient Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Connectivity Namespace > UAConnectivityCore Class : GetClient Method
Provides the client interface used.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Function GetClient() As IEasyUAClient
'Usage
 
Dim instance As UAConnectivityCore
Dim value As IEasyUAClient
 
value = instance.GetClient()
[NotNull()]
public IEasyUAClient GetClient()
[NotNull()]
public:
IEasyUAClient^ GetClient(); 

Return Value

Returns the client interface to be used with the connectivity.

This method never returns null (Nothing in Visual Basic).

Exceptions
ExceptionDescription
The component is not licensed for the operation requested.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also