UA Bundle SDK .NET  2.1.0.222
 All Classes Namespaces Functions Variables Enumerations Properties Events Groups Pages
Deployment

General

The OPC UA .NET SDK is built with the .NET Framework 3.5 SP1. This means that any machine that it is deployed on must have this version of the framework installed. It is possible to build applications with the .NET 4.0 framework that also use the OPC UA .NET SDK, however, those applications will require that both the .NET 3.5 and .NET 4.0 framework be installed on the machines where the software is used.

Deploying an application built with the OPC UA .NET SDK requires two steps:

  1. Copy the directory containing the built binaries to the target machine;
  2. Run the executable as an Administrator with the ‘/install’ argument.

The latter step will create the certificate, create the Windows Service (if required) and set the file permissions correctly. For servers, the installation process will also open firewall ports; configure HTTP.SYS to allow the application to use HTTP or HTTPS endpoints and bind the machine HTTPS certificate to the ports used by the application.

The configuration file that controls the installation process can be passed as a command line parameter or the information can be stored in the default configuration file for the application.

The install process is described in more detail below.

Files

The following table lists the files that need to be copied for a simple client application:

FileDescription
FullClient.exeThe executable assembly created by the application developer.
UnifiedAutomation.UaClient.dllThe assembly for the Unified Automation .NET Client SDK.
UnifiedAutomation.UaBase.dllThe base assembly for the Unified Automation .NET SDKs.
Opc.Ua.CertificateGenerator.exeA certificate generation utility.
Interop.NetFwTypeLib.dllAn Interop assembly used to access the Windows Firewall APIs.

The Opc.Ua.CertificateGenerator.exe utility is only required for installation. It is not required once an application is configured or if certificates are assigned using some vendor defined mechanism. It is also not required if the OPC Foundation Local Discovery Server is installed on the machine.

If the SDK development environment is installed on a machine the Opc.Ua.CertificateGenerator.exe utility can be found in the “Program Files” directory under “UnifiedAutomation\Common\Bin”.