.NET Based OPC UA Client/Server SDK  3.0.10.493
Migration Guides

Common notes

This documentation is not complete and will be updated later.

Migration from SDK 2.x to 3.x

  • Remove referenced Unified Automation assemblies and add the distributed packages
    • UaBase
    • UaBase.Windows
    • UaClient (for client applications)
    • UaServer (for server applications)
  • Set the type of the UaApplicationConfiguration to "UnifiedAutomation.UaBase.ApplicationConfigurationSection,UnifiedAutomation.UaBase.Windows" in app.config.
  • Replace calling new UaClient.Session() by new UaClient.Session(ApplicationInstance.Default).
  • Replace XmlElement by XmlString when using the DataType for DataValues.
  • Replace Utils.GetDefaultIcon by GuiUtils.GetDefaultIcon.
  • Remove EventHandler MissingHttpsCertificate.
  • If the ApplicationSettings are set in code, then replace UaSchema.SecuredApplication by ConfigurationInMemory.
  • The method SecurityUtils.LoadCertificate (string storeType, string storePath, string subjectName, string thumbprint, bool needPrivateKey) has been removed.
    Create a certificate store with SecurityUtils.CreateStore and call ICertificateStore.Find instead.

Migration of applications based on .NET Framework to .NET Core

  • Change framework to .NET Core 2.0 or later.
  • Remove all dependencies to System.Windows.Forms.
  • Remove package UaBase.Windows.
  • Add package UaBase.BouncyCastle.
  • Remove application configuration with app.config and add a in memory based configuration.
  • Replace occurances of ApplicationInstance by ApplicationInstanceBase. Only use the functionality of ApplicationInstanceBase.