From 90f735ceb00d44863ff3e5899d4c8171e4e11877 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Thu, 8 Sep 2022 11:58:25 +0200 Subject: [PATCH] OPC-UA: - modifica gestione file conf XML base x client --- IOB-WIN-NEXT/DATA/{CONF => }/IobOpcUaClient.Config.xml | 0 IOB-WIN-NEXT/IobOpcUa.cs | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename IOB-WIN-NEXT/DATA/{CONF => }/IobOpcUaClient.Config.xml (100%) diff --git a/IOB-WIN-NEXT/DATA/CONF/IobOpcUaClient.Config.xml b/IOB-WIN-NEXT/DATA/IobOpcUaClient.Config.xml similarity index 100% rename from IOB-WIN-NEXT/DATA/CONF/IobOpcUaClient.Config.xml rename to IOB-WIN-NEXT/DATA/IobOpcUaClient.Config.xml diff --git a/IOB-WIN-NEXT/IobOpcUa.cs b/IOB-WIN-NEXT/IobOpcUa.cs index 8d5d4675..5e332397 100644 --- a/IOB-WIN-NEXT/IobOpcUa.cs +++ b/IOB-WIN-NEXT/IobOpcUa.cs @@ -1113,7 +1113,7 @@ namespace IOB_WIN_NEXT application.ApplicationType = ApplicationType.Client; // load the application configuration. - string confPath = $"{Application.StartupPath}\\DATA\\CONF\\IobOpcUaClient.Config.xml"; + string confPath = $"{Application.StartupPath}\\DATA\\IobOpcUaClient.Config.xml"; await application.LoadApplicationConfiguration(confPath, silent: false).ConfigureAwait(false); // check the application certificate. await application.CheckApplicationInstanceCertificate(silent: false, minimumKeySize: 0).ConfigureAwait(false);