C# 클래스 SimpleEpub2.AutoUpdater.AutoUpdater

Provides application update support in C#
파일 보기 프로젝트 열기: henryxrl/SimpleEpub2 1 사용 예제들

공개 메소드들

메소드 설명
AutoUpdater ( AutoUpdatable applicationInfo ) : System

Creates a new AutoUpdater object

DoUpdate ( System.Boolean auto ) : void

Checks for an update for the program passed. If there is an update, a dialog asking to download will appear

비공개 메소드들

메소드 설명
DownloadUpdate ( AutoUpdateXml update ) : void

Downloads update and installs the update

UpdateApplication ( String tempFilePath, String currentPath, String newPath, String launchArgs ) : void

Hack to close program, delete original, move the new one to that location

bgWorker_DoWork ( object sender, DoWorkEventArgs e ) : void

Checks for/parses update.xml on server

bgWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void

After the background worker is done, prompt to update if there is one

메소드 상세

AutoUpdater() 공개 메소드

Creates a new AutoUpdater object
public AutoUpdater ( AutoUpdatable applicationInfo ) : System
applicationInfo AutoUpdatable
리턴 System

DoUpdate() 공개 메소드

Checks for an update for the program passed. If there is an update, a dialog asking to download will appear
public DoUpdate ( System.Boolean auto ) : void
auto System.Boolean
리턴 void