Gets the effective OPC UA application manifest, i.e. the currently used application registration information together with data related to PKI administration, such as paths to the certificate stores used.
Syntax
Return Value
Returns the OPC UA application manifest object.
Because OpcLabs.EasyOpc.UA.Discovery.UAApplicationElement has an implicit conversion to OpcLabs.EasyOpc.UA.UAEndpointDescriptor, you can simply use the returned OpcLabs.EasyOpc.UA.Discovery.UAApplicationElement in any place where OpcLabs.EasyOpc.UA.UAEndpointDescriptor is expected as input, and the corresponding endpoint descriptor will be constructed automatically from the application element. When the implicit conversion operators are not supported (such as with Python.NET), you can use the OpcLabs.EasyOpc.UA.Discovery.UAApplicationElement.ToUAEndpointDescriptor static method instead.
This method never returns null
(Nothing
in Visual Basic).
Exceptions
Exception | Description |
System.Exception | An error has occurred during application execution. |
OpcLabs.EasyOpc.UA.OperationModel.UAException |
The OPC UA operation has failed. This operation exception in uniformly used to allow
common handling of various kinds of errors. The System.Exception.InnerException always contains
information about the actual error cause.
This is an operation error that depends on factors external to your program, and thus cannot be always avoided. Your code must handle it appropriately. |
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