New OPCAE.NET-UA based client applications can be created in Visual Studio with the OPCAE.NET-UA New Project template.
The created application has the proper assembly references.
The OPCAE.NET-UA template has the same wizard dialog as the OPCAE.NET template.
The created application has base code according the wizard dialog selections.
Another option is to create a Windows Forms application and drag the OPCAE.NET EventView control from the designer toolbox to the form. This adds automatically the OpcAeNet.dll (OpcAeNet.Net4.dll ) reference to the project. This reference has to be replaced as described in the chapter Upgrade an existing OPC AE client.
Replace this reference with references to:
- OpcAeNetUA.dll (OpcAeNetUA.Net4.dll )
- OpcNetBase.dll (OpcNetBase.Net4.dll)
Configuration and Certificate
Before a UA client application can be executed a configuration file and a certificate needs to be created.
This is best done with the UaClientConfigHelper utility. See the Configuration chapter for details.