C# Class wyDay.Controls.AutomaticUpdaterBackend

Backend for the AutomaticUpdater control.
Afficher le fichier Open project: RagingBigFemaleBird/sgs Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Private Methods

Méthode 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 méthode

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

AutomaticUpdaterBackend() public méthode

Represents an AutomaticUpdater control.
public AutomaticUpdaterBackend ( ) : System
Résultat System

Cancel() public méthode

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

Dispose() public méthode

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

Dispose() protected méthode

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.
Résultat void

ForceCheckForUpdate() public méthode

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

ForceCheckForUpdate() public méthode

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.
Résultat bool

Initialize() public méthode

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

InstallNow() public méthode

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