C# WINFORM 自动更新解决思路
C# WINFORM 自动更新
C# WINFORM 自动更新使用的XML文件
这个XML文件怎么设置呀!
C# WINFORM 自动更新使用的XML文件
这个XML文件怎么设置呀!
- C# code
[Description("应用程序文件URL")]
public string AppFileURL
{
get
{
return this._AppFileURL;
}
set
{
this._AppFileURL = value;
}
}
[DefaultValue(""), Description("应用程序路径。")]
public string ApplicationPath
{
get
{
return this._applicationpath;
}
set
{
this._applicationpath = value;
}
}
[Description("可用版本")]
public string AvailableVersion
{
get
{
return this._AvailableVersion;
}
set
{
this._AvailableVersion = value;
}
}
[Description("变更日志URL")]
public string ChangeLogURL
{
get
{
return this._ChangeLogURL;
}
set
{
this._ChangeLogURL = value;
}
}
[DefaultValue("http://localhost/UpdateConfig.xml"), Description("配置文件URL。(例如:http://localhost/UpdateConfig.xml)"), Category("自动更新配置")]
public string ConfigURL
{
get
{
return this._ConfigURL;
}
set
{
this._ConfigURL = value;
}
}
[Description("指定应用程序的当前版本"), Browsable(false)]
public Version CurrentAppVersion
{
get
{