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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.InformationModel Namespace > EasyUAPublishSubscribeClient Class : AccessReadOnlySecurityKeyService Method
The endpoint descriptor of the OPC UA server containing the PubSub Security Key Service (SKS) model.
Gives read-only access to PubSub security key service (SKS) provided by the specified OPC UA server.
Syntax
'Declaration
 
Public Function AccessReadOnlySecurityKeyService( _
   ByVal endpointDescriptor As UAEndpointDescriptor _
) As IUAReadOnlyPubSubSecurityKeyService
'Usage
 
Dim instance As EasyUAPublishSubscribeClient
Dim endpointDescriptor As UAEndpointDescriptor
Dim value As IUAReadOnlyPubSubSecurityKeyService
 
value = instance.AccessReadOnlySecurityKeyService(endpointDescriptor)

Parameters

endpointDescriptor
The endpoint descriptor of the OPC UA server containing the PubSub Security Key Service (SKS) model.

Return Value

Returns an interface that provides read-only access to PubSub security key service (SKS) .
Exceptions
ExceptionDescription
A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.
Remarks

You can use the HasConfigurationModel method to determine whether the given server provides a PubSub Security Key Service (SKS) model. Operations on the returned OpcLabs.EasyOpc.UA.PubSub.SecurityKeyService.IUAReadOnlyPubSubSecurityKeyService will fail if it does not.

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