'Declaration
<ExtensionAttribute()> Public Overloads Shared Function HasOwnCertificate( _ ByVal application As IEasyUAClientServerApplication _ ) As Boolean
'Usage
Dim application As IEasyUAClientServerApplication Dim value As Boolean value = IEasyUAClientServerApplicationExtension.HasOwnCertificate(application)
[Extension()] public static bool HasOwnCertificate( IEasyUAClientServerApplication application )
[Extension()] public: static bool HasOwnCertificate( 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
true
if the application's own certificate is present in the certificate store. Returns false
otherwise.