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