C# Class DesktopHelper.Util.CheckUpdate

Exibir arquivo Open project: JimmyFung/DesktopHelper Class Usage Examples

Public Methods

Method Description
Download ( ) : bool

获取最新版本信息

HasNewVersion ( ) : bool

检测是否有新版本

IsConnectedInternet ( ) : bool

检测本机是否联网

Private Methods

Method Description
GetNewVersion ( ) : string
InternetGetConnectedState ( int &connectionDescription, int reservedValue ) : bool

Method Details

Download() public method

获取最新版本信息
public Download ( ) : bool
return bool

HasNewVersion() public method

检测是否有新版本
public HasNewVersion ( ) : bool
return bool

IsConnectedInternet() public method

检测本机是否联网
public IsConnectedInternet ( ) : bool
return bool