private async void OnRegister(object sender)
{
try
{
Opc.Ua.Server.StandardServer server = m_server;
if (server != null)
{
await server.RegisterWithDiscoveryServer();
}
}
catch (Exception exception)
{
Utils.Trace(exception, "Could not register with the LDS");
}
}