C# Class wyDay.Controls.AutomaticUpdaterBackend

Backend for the AutomaticUpdater control.
Show file Open project: RagingBigFemaleBird/sgs Class Usage Examples

Public Methods

Method Description
AppLoaded ( ) : void

The function that must be called when your app has loaded.

AutomaticUpdaterBackend ( ) : System

Represents an AutomaticUpdater control.

Cancel ( ) : void

Cancel the checking, downloading, or extracting currently in progress.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ForceCheckForUpdate ( ) : bool

Check for updates forcefully -- returns true if the updating has begun. Use the "CheckingFailed", "UpdateAvailable", or "UpToDate" events for the result.

ForceCheckForUpdate ( bool recheck ) : bool

Check for updates forcefully -- returns true if the updating has begun. Use the "CheckingFailed", "UpdateAvailable", or "UpToDate" events for the result.

Initialize ( ) : void

The intialize function must be called before you can use any other functions.

InstallNow ( ) : void

Proceed with the download and installation of pending updates.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Private Methods

Method Description
AlreadyUpToDate ( ) : void
AutomaticUpdaterBackend ( bool bufferResponse ) : System
DownloadUpdate ( ) : void
ExtractUpdate ( ) : void
FlushResponses ( ) : void
InstallPendingUpdate ( ) : void
SetLastSuccessfulStep ( ) : void
StartNextStep ( UpdateStep updateStepOn ) : void
UpdateReady ( ) : void
UpdateReadyToExtract ( ) : void
UpdateReadyToInstall ( ) : void
UpdateStepFailed ( UpdateStepOn us, FailArgs args ) : void
UpdateStepToUpdateStepOn ( UpdateStep us ) : UpdateStepOn
updateHelper_PipeServerDisconnected ( object sender, UpdateHelperData e ) : void
updateHelper_ProgressChanged ( object sender, UpdateHelperData e ) : void
updateHelper_ResendRestartInfo ( object sender, EventArgs e ) : void
updateHelper_UpdateStepMismatch ( object sender, Response respType, UpdateStep previousStep ) : void

Method Details

AppLoaded() public method

The function that must be called when your app has loaded.
public AppLoaded ( ) : void
return void

AutomaticUpdaterBackend() public method

Represents an AutomaticUpdater control.
public AutomaticUpdaterBackend ( ) : System
return System

Cancel() public method

Cancel the checking, downloading, or extracting currently in progress.
public Cancel ( ) : void
return void

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool Result: true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

ForceCheckForUpdate() public method

Check for updates forcefully -- returns true if the updating has begun. Use the "CheckingFailed", "UpdateAvailable", or "UpToDate" events for the result.
public ForceCheckForUpdate ( ) : bool
return bool

ForceCheckForUpdate() public method

Check for updates forcefully -- returns true if the updating has begun. Use the "CheckingFailed", "UpdateAvailable", or "UpToDate" events for the result.
public ForceCheckForUpdate ( bool recheck ) : bool
recheck bool Recheck with the servers regardless of cached updates, etc.
return bool

Initialize() public method

The intialize function must be called before you can use any other functions.
public Initialize ( ) : void
return void

InstallNow() public method

Proceed with the download and installation of pending updates.
public InstallNow ( ) : void
return void