Table of Contents

Class UpgradeOptions

Namespace
H.Modules.Upgrade
Assembly
H.Modules.Upgrade.dll
[Display(Name = "软件更新", GroupName = "系统设置", Description = "配置软件更新相关参数")]
public class UpgradeOptions : IocOptionInstance<UpgradeOptions>, INotifyPropertyChanged, IDisplayBindable, IIconable, IDable, IDescriptionable, ISettable, INameable, IOrderable, IGroupable, ILoadable, ISaveable, IDefaultable, IClearable, IOptions<UpgradeOptions>, IUpgradeOptions
Inheritance
UpgradeOptions
Implements
Inherited Members
Extension Methods

Properties

AutomaticUpgrade

[Display(Name = "自动安装", Description = "有更新时自动为我安装(推荐)")]
public bool AutomaticUpgrade { get; set; }

Property Value

bool

CheckUpdateOnStart

[Display(Name = "启动时检查更新")]
public bool CheckUpdateOnStart { get; set; }

Property Value

bool

LoadFormat

[Display(Name = "下载安装包时格式")]
public string LoadFormat { get; set; }

Property Value

string

NotifyUpgrade

[Display(Name = "提醒安装", Description = "有更新时不要安装,但提醒我")]
public bool NotifyUpgrade { get; set; }

Property Value

bool

SavePath

[Display(Name = "更新文件保存位置")]
public string SavePath { get; set; }

Property Value

string

Uri

[Display(Name = "检查更新地址")]
public string Uri { get; set; }

Property Value

string

UseIEDownload

[Display(Name = "使用浏览器下载")]
public bool UseIEDownload { get; set; }

Property Value

bool

Methods

GetDefaultFolder()

protected override string GetDefaultFolder()

Returns

string