C# Class wyDay.Controls.UpdateHelper

Inheritance: IDisposable
Afficher le fichier Open project: RagingBigFemaleBird/sgs Class Usage Examples

Méthodes publiques

Свойство Type Description
BufferResponse bool
ExtraArguments string
UpdateStep UpdateStep

Méthodes publiques

Méthode Description
BeginExtraction ( ) : void
Cancel ( ) : void
CheckForUpdate ( ) : void
CreateNewPipeClient ( ) : void
Dispose ( ) : void

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

DownloadUpdate ( ) : void
FlushResponses ( ) : void
ForceRecheckForUpdate ( ) : void
InstallNow ( ) : void
ProcessReceivedMessage ( UpdateHelperData data ) : void
RecreateBackgroundWorker ( ) : void
RestartInfo ( string fileToExecute, string autoUpdateID, string argumentsForFiles, bool isAService ) : void
SafeProcessReceivedMessage ( byte message ) : void
SendAsync ( UpdateHelperData uhd ) : void
ServerDisconnected ( ) : void
TryToConnectToPipe ( string pipename ) : void
UpdateHelper ( ) : System
bw_DoWork ( object sender, DoWorkEventArgs e ) : void
bw_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Private Methods

Méthode Description
RetrySend ( byte message ) : bool

Tries to send a message MaxSendRetries waiting MilliSecsBetweenRetry.

SetForegroundWindow ( int hWnd ) : bool
ShowWindow ( int hwnd, int nCmdShow ) : int
StartClient ( ) : bool

Method Details

BeginExtraction() public méthode

public BeginExtraction ( ) : void
Résultat void

Cancel() public méthode

public Cancel ( ) : void
Résultat void

CheckForUpdate() public méthode

public CheckForUpdate ( ) : void
Résultat void

CreateNewPipeClient() public méthode

public CreateNewPipeClient ( ) : 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

DownloadUpdate() public méthode

public DownloadUpdate ( ) : void
Résultat void

FlushResponses() public méthode

public FlushResponses ( ) : void
Résultat void

ForceRecheckForUpdate() public méthode

public ForceRecheckForUpdate ( ) : void
Résultat void

InstallNow() public méthode

public InstallNow ( ) : void
Résultat void

ProcessReceivedMessage() public méthode

public ProcessReceivedMessage ( UpdateHelperData data ) : void
data wyUpdate.Common.UpdateHelperData
Résultat void

RecreateBackgroundWorker() public méthode

public RecreateBackgroundWorker ( ) : void
Résultat void

RestartInfo() public méthode

public RestartInfo ( string fileToExecute, string autoUpdateID, string argumentsForFiles, bool isAService ) : void
fileToExecute string
autoUpdateID string
argumentsForFiles string
isAService bool
Résultat void

SafeProcessReceivedMessage() public méthode

public SafeProcessReceivedMessage ( byte message ) : void
message byte
Résultat void

SendAsync() public méthode

public SendAsync ( UpdateHelperData uhd ) : void
uhd wyUpdate.Common.UpdateHelperData
Résultat void

ServerDisconnected() public méthode

public ServerDisconnected ( ) : void
Résultat void

TryToConnectToPipe() public méthode

public TryToConnectToPipe ( string pipename ) : void
pipename string
Résultat void

UpdateHelper() public méthode

public UpdateHelper ( ) : System
Résultat System

bw_DoWork() public méthode

public bw_DoWork ( object sender, DoWorkEventArgs e ) : void
sender object
e DoWorkEventArgs
Résultat void

bw_RunWorkerCompleted() public méthode

public bw_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
sender object
e RunWorkerCompletedEventArgs
Résultat void

Property Details

BufferResponse public_oe property

public bool BufferResponse
Résultat bool

ExtraArguments public_oe property

public string ExtraArguments
Résultat string

UpdateStep public_oe property

public UpdateStep UpdateStep
Résultat UpdateStep