This project has moved and is read-only. For the latest updates, please go here.

Is it compatible with ?

Jul 17, 2012 at 11:27 AM

What is the restrictions of using the library in an application ?

Jul 19, 2012 at 6:48 AM

Why anyone want an auto update functionality for

Jul 19, 2012 at 12:38 PM

If you have a web application like wordpress or joomla, and people has copies of it, then you will need it to auto-update

Jul 21, 2012 at 5:48 AM
Edited Jul 22, 2012 at 6:32 AM

you can use AutoUpdater.cs to in a webservice with some modification. but you can't use the winforms update dialog in Just use updatepanel that comes with AJAX Control Toolkit to show user about an update. see Calling Web Services from Client Script in ASP.NET AJAX. You send a webservice a version of your app and webservice exceute code just like AutoUpdater.cs and sends reply with download url of the update. I have not enough experience with but this should work. Or you can directly add Autoupdater.cs code in backgroundworker in a page load event to look for an update. See Background worker thread in ASP.NET. Just use following code to read xml appcast from server.


            WebRequest webRequest = WebRequest.Create(_appCastUrl);

            WebResponse webResponse;

                webResponse = webRequest.GetResponse();
            catch (Exception)

            Stream appCastStream = webResponse.GetResponseStream();

            var receivedAppCastDocument = new XmlDocument();

            if (appCastStream != null) receivedAppCastDocument.Load(appCastStream);
            else return;

            XmlNodeList appCastItems = receivedAppCastDocument.SelectNodes("item");

            if (appCastItems != null)
                foreach (XmlNode item in appCastItems)
                    XmlNode appCastVersion = item.SelectSingleNode("version");
                    if (appCastVersion != null)
                        String appVersion = appCastVersion.InnerText;
                        var version = new Version(appVersion);
                        if (version <= _installedVersion)
                        _currentVersion = version;

                    XmlNode appCastTitle = item.SelectSingleNode("title");

                    _title = appCastTitle != null ? appCastTitle.InnerText : "";

                    XmlNode appCastChangeLog = item.SelectSingleNode("changelog");

                    _changeLogUrl = appCastChangeLog != null ? appCastChangeLog.InnerText : "";

                    XmlNode appCastUrl = item.SelectSingleNode("url");

                    _downloadUrl = appCastUrl != null ? appCastUrl.InnerText : "";

Get _installedVersion value from local config file. Prepare appcast as given in documentation of AutoUpdater.NET.
Reply if it works or not.