I wrote an auto-updater for ePriest. Feel free to use it for all your CCs. My only requirement is it is turned off by default and users must be told that is turned off by default (to avoid headaches for Hawker and Bossland). This means that this function doesn't get called (no WebClient created). Please also include that it will be accessing your website (so that people know you may be able to track their IP etc).
Erenion
Code:
private void autoUpdate()//Created by erenion
{
try
{
string fileUrl = "http://www.gliderapps.com/ePriest/Priest.cs";
string localFile = "./CustomClasses/Priest.cs";
WebClient wc = new WebClient();
FileStream fs = new FileStream(localFile, FileMode.OpenOrCreate);
long localFileLength = fs.Length;
fs.Close();
if (wc.DownloadData(fileUrl).Length != localFileLength)
{
wc.DownloadFile(fileUrl, localFile);
}
}
catch
{
}
}
Erenion