'Declaration
<ExtensionAttribute()> Public Shared Sub SetPrivateKeyPassword( _ ByVal application As IEasyUAClientServerApplication, _ ByVal privateKeyPassword As String _ )
'Usage
Dim application As IEasyUAClientServerApplication Dim privateKeyPassword As String IEasyUAClientServerApplicationExtension.SetPrivateKeyPassword(application, privateKeyPassword)
[Extension()] public static void SetPrivateKeyPassword( IEasyUAClientServerApplication application, string privateKeyPassword )
[Extension()] public: static void SetPrivateKeyPassword( IEasyUAClientServerApplication^ application, String^ privateKeyPassword )
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). - privateKeyPassword
- The private key password to be associated with the default certificate.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).