mirror of
https://github.com/OPCFoundation/UA-.NETStandard.git
synced 2026-10-29 07:07:24 +08:00
Fix ip address parser, domain name check and reconnect (#333)
* bug fix in cert parser: return normalized ipaddress string instead of hex byte array string * connect with domain cert check, * fix ip address compares, * add dialog to connect anyway if cert domain check fails * fix reconnect case when cert domain check fails
This commit is contained in:
@@ -193,7 +193,7 @@ namespace Opc.Ua.Sample.Controls
|
||||
}
|
||||
catch (Exception exception)
|
||||
{
|
||||
GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
|
||||
GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
|
||||
e.UpdateControl = false;
|
||||
}
|
||||
}
|
||||
@@ -206,7 +206,7 @@ namespace Opc.Ua.Sample.Controls
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
// GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
|
||||
// GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -349,7 +349,7 @@ namespace Opc.Ua.Sample.Controls
|
||||
}
|
||||
catch (Exception exception)
|
||||
{
|
||||
GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
|
||||
GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -387,7 +387,7 @@ namespace Opc.Ua.Sample.Controls
|
||||
}
|
||||
catch (Exception exception)
|
||||
{
|
||||
GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
|
||||
GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -425,7 +425,7 @@ namespace Opc.Ua.Sample.Controls
|
||||
}
|
||||
catch (Exception exception)
|
||||
{
|
||||
GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
|
||||
GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -440,7 +440,7 @@ namespace Opc.Ua.Sample.Controls
|
||||
}
|
||||
catch (Exception exception)
|
||||
{
|
||||
GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
|
||||
GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -457,7 +457,7 @@ namespace Opc.Ua.Sample.Controls
|
||||
}
|
||||
catch (Exception exception)
|
||||
{
|
||||
Utils.Trace(exception, "Could not register with the LDS");
|
||||
Utils.Trace(exception, "Could not register with the LDS");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user