M
milestone
The AutoUpdater samples by Alex Feinman is a very good job. Yes.I can
download one file sucessfully.
Supposed there are 6 files need to check if the newer versions are
available and are saved in a XML file. and the code is like as :
foreach(XmlNode node in element.ChildNodes)
{
string appName=node["checkassembly"].GetAttribute("name");
string remoteApp=node["remoteapp"].GetAttribute("name");
string url=node["service"].GetAttribute("url");
UpdateInfo ui=up.Check(appName,url);
if(ui.IsAvailable)
{
up.Download(ui);
}
}
It cannot work.
why?
download one file sucessfully.
Supposed there are 6 files need to check if the newer versions are
available and are saved in a XML file. and the code is like as :
foreach(XmlNode node in element.ChildNodes)
{
string appName=node["checkassembly"].GetAttribute("name");
string remoteApp=node["remoteapp"].GetAttribute("name");
string url=node["service"].GetAttribute("url");
UpdateInfo ui=up.Check(appName,url);
if(ui.IsAvailable)
{
up.Download(ui);
}
}
It cannot work.
why?