DesktopHelper.Util.CheckUpdate.GetNewVersion C# (CSharp) Method

GetNewVersion() private method

private GetNewVersion ( ) : string
return string
        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;
        }