public string updateDownloadUrl() { if (this.webUpdateCheck.Document != null) { HtmlElement he = this.webUpdateCheck.Document.GetElementById("download"); if (he != null) { return he.GetAttribute("href"); } } return null; }