QuickOPC User's Guide and Reference
GetInstanceCertificate Method (IEasyUAApplication)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Application Namespace > IEasyUAApplication Interface : GetInstanceCertificate Method
Gets the instance certificate the application is currently configured to use.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Function GetInstanceCertificate() As IPkiCertificate
'Usage
 
Dim instance As IEasyUAApplication
Dim value As IPkiCertificate
 
value = instance.GetInstanceCertificate()
[CanBeNull()]
IPkiCertificate GetInstanceCertificate()
[CanBeNull()]
IPkiCertificate^ GetInstanceCertificate(); 

Return Value

Returns the instance certificate, if found. Returns null if the instance certificate cannot be found.
Exceptions
ExceptionDescription
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 Core, .NET 6: Linux, macOS, Microsoft Windows

See Also