'Declaration
<ExtensionAttribute()> Public Overloads Shared Function HasPrivateKeyPassword( _ ByVal application As IEasyUAClientServerApplication _ ) As Boolean
'Usage
Dim application As IEasyUAClientServerApplication Dim value As Boolean value = IEasyUAClientServerApplicationExtension.HasPrivateKeyPassword(application)
[Extension()] public static bool HasPrivateKeyPassword( IEasyUAClientServerApplication application )
[Extension()] public: static bool HasPrivateKeyPassword( 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 a non-empty password is in use for the default certificate. Returns false
otherwise.