private void LoadUaAppConfiguration() { try { UaClient.UaAppConfigFileAutoCreate = "OPCUAClient"; // auto create a default UA config file to simplify the configuration handling _UaApp = new UaClient(this); _UaApp.LoadConfiguration(); // process the UA configuration } catch (Exception ex) { //MessageBox.Show(ex.Message, "Load UA configuration file failed."); } }