OPC Studio User's Guide and Reference
UIAdministerApplication Method



OpcLabs.EasyOpcForms Assembly > OpcLabs.EasyOpc.UA.Forms.Application Namespace > IEasyUAClientServerApplicationExtension2 Class : UIAdministerApplication Method
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).

Any object that implements System.Windows.Forms.IWin32Window that represents the top-level window that will own the modal form with the user interface the operation.

The value of this parameter can be null (Nothing in Visual Basic).

The selector of the client object that is used for OPC Unified Architecture operations.

The value of this parameter cannot be null (Nothing in Visual Basic).

Specifies whether user interface for Pull Certificate Management will be available to the user.
Determines whether the interactive user will be allowed to change the password to the private key of the application certificate.
Shows the form which allows the interactive user to administer the OPC UA application modally.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Shared Sub UIAdministerApplication( _
   ByVal application As IEasyUAClientServerApplication, _
   ByVal owner As IWin32Window, _
   ByVal clientSelector As EasyUAClientSelector, _
   ByVal allowPullCertificateManagement As Boolean, _
   ByVal allowChangePrivateKeyPassword As Boolean _
) 
'Usage
 
Dim application As IEasyUAClientServerApplication
Dim owner As IWin32Window
Dim clientSelector As EasyUAClientSelector
Dim allowPullCertificateManagement As Boolean
Dim allowChangePrivateKeyPassword As Boolean
 
IEasyUAClientServerApplicationExtension2.UIAdministerApplication(application, owner, clientSelector, allowPullCertificateManagement, allowChangePrivateKeyPassword)

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).

owner
Any object that implements System.Windows.Forms.IWin32Window that represents the top-level window that will own the modal form with the user interface the operation.

The value of this parameter can be null (Nothing in Visual Basic).

clientSelector
The selector of the client object that is used for OPC Unified Architecture operations.

The value of this parameter cannot be null (Nothing in Visual Basic).

allowPullCertificateManagement
Specifies whether user interface for Pull Certificate Management will be available to the user.
allowChangePrivateKeyPassword
Determines whether the interactive user will be allowed to change the password to the private key of the application certificate.
Remarks

This is an extension method (info: C#, VB.NET). In languages that have support for extensions methods (such as C# and VB.NET), you can use the extension method as if it were a regular method on the object that is its first parameter. In other languages (such as with Python.NET), you will call the extension as a static method, and pass it the object on which it acts as its first parameter.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also