QuickOPC User's Guide and Reference
HasSecurityKeyServiceModel Method (EasyUAPublishSubscribeClient)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.InformationModel Namespace > EasyUAPublishSubscribeClient Class : HasSecurityKeyServiceModel Method
The endpoint descriptor of the OPC UA server to be tested.
Determines whether the specified OPC UA server provides a PubSub Security Key Service (SKS) model.
Syntax
'Declaration
 
Public Function HasSecurityKeyServiceModel( _
   ByVal endpointDescriptor As UAEndpointDescriptor _
) As Boolean
'Usage
 
Dim instance As EasyUAPublishSubscribeClient
Dim endpointDescriptor As UAEndpointDescriptor
Dim value As Boolean
 
value = instance.HasSecurityKeyServiceModel(endpointDescriptor)
public bool HasSecurityKeyServiceModel( 
   UAEndpointDescriptor endpointDescriptor
)
public:
bool HasSecurityKeyServiceModel( 
   UAEndpointDescriptor^ endpointDescriptor
) 

Parameters

endpointDescriptor
The endpoint descriptor of the OPC UA server to be tested.

Return Value

Returns true if the OPC UA server residing on the specified endpoint provides the OPC UA PubSub Security Key Service (SKS) model; returns false otherwise.
Exceptions
ExceptionDescription
A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.
The OPC UA operation has failed.
Requirements

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

See Also