RPS.Config.isUpdateNewer C# (CSharp) Method

isUpdateNewer() public method

public isUpdateNewer ( ) : bool?
return bool?
        public bool? isUpdateNewer()
        {
            if (this.webUpdateCheck.Document != null) {
                HtmlElement he = this.webUpdateCheck.Document.GetElementById("download");
                if (he != null) {
                    Version update = new Version(he.GetAttribute("data-version"));
                    return (this.screensaver.version.CompareTo(update) < 0);
                }
            }
            return null;
        }