private string GetNewVersion()
{
try
{
XmlDocument xDoc = new XmlDocument();
xDoc.Load(path);
XmlNodeList clientNodes;
clientNodes = xDoc.SelectNodes("//client");
if (clientNodes.Count > 0)
{
foreach (XmlNode xNode in clientNodes)
{
_newVersion = xNode.FirstChild.InnerText;
}
}
}
catch
{
}
return _newVersion;
}