C# Class wyDay.Controls.UpdateHelper

Inheritance: IDisposable
ファイルを表示 Open project: RagingBigFemaleBird/sgs Class Usage Examples

Public Properties

Property Type Description
BufferResponse bool
ExtraArguments string
UpdateStep UpdateStep

Public Methods

Method 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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Private Methods

Method 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 method

public BeginExtraction ( ) : void
return void

Cancel() public method

public Cancel ( ) : void
return void

CheckForUpdate() public method

public CheckForUpdate ( ) : void
return void

CreateNewPipeClient() public method

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

DownloadUpdate() public method

public DownloadUpdate ( ) : void
return void

FlushResponses() public method

public FlushResponses ( ) : void
return void

ForceRecheckForUpdate() public method

public ForceRecheckForUpdate ( ) : void
return void

InstallNow() public method

public InstallNow ( ) : void
return void

ProcessReceivedMessage() public method

public ProcessReceivedMessage ( UpdateHelperData data ) : void
data wyUpdate.Common.UpdateHelperData
return void

RecreateBackgroundWorker() public method

public RecreateBackgroundWorker ( ) : void
return void

RestartInfo() public method

public RestartInfo ( string fileToExecute, string autoUpdateID, string argumentsForFiles, bool isAService ) : void
fileToExecute string
autoUpdateID string
argumentsForFiles string
isAService bool
return void

SafeProcessReceivedMessage() public method

public SafeProcessReceivedMessage ( byte message ) : void
message byte
return void

SendAsync() public method

public SendAsync ( UpdateHelperData uhd ) : void
uhd wyUpdate.Common.UpdateHelperData
return void

ServerDisconnected() public method

public ServerDisconnected ( ) : void
return void

TryToConnectToPipe() public method

public TryToConnectToPipe ( string pipename ) : void
pipename string
return void

UpdateHelper() public method

public UpdateHelper ( ) : System
return System

bw_DoWork() public method

public bw_DoWork ( object sender, DoWorkEventArgs e ) : void
sender object
e DoWorkEventArgs
return void

bw_RunWorkerCompleted() public method

public bw_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
sender object
e RunWorkerCompletedEventArgs
return void

Property Details

BufferResponse public_oe property

public bool BufferResponse
return bool

ExtraArguments public_oe property

public string ExtraArguments
return string

UpdateStep public_oe property

public UpdateStep UpdateStep
return UpdateStep