C# 클래스 BF2Statistics.ProgramUpdater

Auto updater for the BF2Statistics control center
파일 보기 프로젝트 열기: BF2Statistics/ControlCenter

공개 프로퍼티들

프로퍼티 타입 설명
NewVersion System.Version
Url System.Uri

공개 메소드들

메소드 설명
CheckForUpdateAsync ( ) : void

Checks for a new update Async.

DownloadUpdateAsync ( ) : bool

Downloads the new update from Github Async.

비공개 메소드들

메소드 설명
ProgramUpdater ( ) : System
TaskForm_Cancelled ( object sender, CancelEventArgs e ) : void

Event called when the Cancel button is pushed on the main form

Wc_DownloadFileCompleted ( object sender, AsyncCompletedEventArgs e ) : void

Event called when an update file has completed its download

Wc_DownloadProgressChanged ( object sender, DownloadProgressChangedEventArgs e ) : void

Event called when the progress of the download has changed

메소드 상세

CheckForUpdateAsync() 공개 정적인 메소드

Checks for a new update Async.
public static CheckForUpdateAsync ( ) : void
리턴 void

DownloadUpdateAsync() 공개 정적인 메소드

Downloads the new update from Github Async.
public static DownloadUpdateAsync ( ) : bool
리턴 bool

프로퍼티 상세

NewVersion 공개적으로 정적으로 프로퍼티

The new updated version
public static Version,System NewVersion
리턴 System.Version

Url 공개적으로 정적으로 프로퍼티

Path to the Versions file
public static Uri,System Url
리턴 System.Uri