I have simple application in WPF, which I connect to for example to file and I would like to set a timeout message when the server is not responding.:
I use this code:
XmlDocument xml = new XmlDocument();
xml.Load('//SERVER/KATALOG/file.xml");
Sometimes, when server is not responding, application freezes and I would like to show a message in that case.