'Declaration
<ExtensionAttribute()> <CanBeNullAttribute()> Public Shared Function FindOwnCertificate( _ ByVal application As IEasyUAClientServerApplication _ ) As IPkiCertificate
'Usage
Dim application As IEasyUAClientServerApplication Dim value As IPkiCertificate value = IEasyUAClientServerApplicationExtension.FindOwnCertificate(application)
[Extension()] [CanBeNull()] public static IPkiCertificate FindOwnCertificate( IEasyUAClientServerApplication application )
[Extension()] [CanBeNull()] public: static IPkiCertificate^ FindOwnCertificate( IEasyUAClientServerApplication^ application )
Parameters
- application
- The OPC UA client/server application object that will perform the operation.
In client applications, this is typically obtained by calling System.IServiceProvider.GetService(System.Type) on the OpcLabs.EasyOpc.UA.IEasyUAClient (
EasyUAClient
object) with the type of OpcLabs.EasyOpc.UA.Application.IEasyUAClientServerApplication as an argument.The value of this parameter cannot be
null
(Nothing
in Visual Basic).
Return Value
null
if the own certificate cannot be found.
This method can return null
(Nothing
in Visual Basic).