C# Класс wyDay.Controls.AutomaticUpdaterBackend

Backend for the AutomaticUpdater control.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Приватные методы

Метод Описание
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

Описание методов

AppLoaded() публичный Метод

The function that must be called when your app has loaded.
public AppLoaded ( ) : void
Результат void

AutomaticUpdaterBackend() публичный Метод

Represents an AutomaticUpdater control.
public AutomaticUpdaterBackend ( ) : System
Результат System

Cancel() публичный Метод

Cancel the checking, downloading, or extracting currently in progress.
public Cancel ( ) : void
Результат void

Dispose() публичный Метод

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

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.
Результат void

ForceCheckForUpdate() публичный Метод

Check for updates forcefully -- returns true if the updating has begun. Use the "CheckingFailed", "UpdateAvailable", or "UpToDate" events for the result.
public ForceCheckForUpdate ( ) : bool
Результат bool

ForceCheckForUpdate() публичный Метод

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.
Результат bool

Initialize() публичный Метод

The intialize function must be called before you can use any other functions.
public Initialize ( ) : void
Результат void

InstallNow() публичный Метод

Proceed with the download and installation of pending updates.
public InstallNow ( ) : void
Результат void