Currently if DNS resolution fails, an uncaught exception error is presented to the user, for example:
System.Net.Sockets.SocketException (0x00002AF9): No such host is known.
at System.Net.Dns.GetHostEntryOrAddressesCore(String hostName, Boolean justAddresses, AddressFamily addressFamily, Nullable`1 startingTimestamp)
at System.Net.Dns.GetHostAddresses(String hostNameOrAddress, AddressFamily family)
at ACCConnector.ServerInfo.FromUri(Uri uri)
at ACCConnector.MainWindow.AddFromURI(String uri)
at ACCConnector.MainWindow.HandleCopyData(COPYDATASTRUCT copydata)
at ACCConnector.MainWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)
Currently if DNS resolution fails, an uncaught exception error is presented to the user, for example:
This needs to be handled more gracefully.