메소드 | 설명 | |
---|---|---|
Cancel ( ) : void |
Cancels the update.
|
|
Update ( ) : bool |
Performs the update.
|
|
UpdaterBase ( IEnvironmentInfo p_eifEnvironmentInfo ) : System |
A simple constructor that initializes the object with the given values.
|
메소드 | 설명 | |
---|---|---|
DownloadFile ( |
Downloads the specified file, and returns the local path where the file was saved.
|
|
DownloadFileContents ( |
Downloads the specified file, and returns the file contents.
|
|
DownloadFileContentsAsString ( |
Downloads the specified file, and returns the file contents as a string.
|
|
SetMessage ( string p_strMessage ) : void |
Sets the updater's Message.
|
|
SetProgress ( |
Sets the updater's Progress.
|
|
SetProgressMaximum ( |
Sets the updater's ProgressMaximum.
|
|
SetRequiresRestart ( bool p_booRequiresRestart ) : void |
Sets the updater's RequiresRestart.
|
메소드 | 설명 | |
---|---|---|
DefaultConfirm ( string p_strMessage, string p_strTitle ) : bool |
The default confirm method.
|
|
Downloader_DownloadComplete ( object sender, |
Handles the FileDownloader.DownloadComplete event of the file downloader. This stops the updating of the progress properties. |
protected DownloadFile ( |
||
p_uriUrl | The URL of the file to download. | |
리턴 | string |
protected DownloadFileContents ( |
||
p_uriUrl | The URL of the file to download. | |
리턴 | byte[] |
protected DownloadFileContentsAsString ( |
||
p_uriUrl | The URL of the file to download. | |
리턴 | string |
protected SetMessage ( string p_strMessage ) : void | ||
p_strMessage | string | The updater's new message. |
리턴 | void |
protected SetProgress ( |
||
p_intProgress | The updater's new progress. | |
리턴 | void |
protected SetProgressMaximum ( |
||
p_intMaximum | The new maximum to use for the updater's progress. | |
리턴 | void |
protected SetRequiresRestart ( bool p_booRequiresRestart ) : void | ||
p_booRequiresRestart | bool | The updater's new requires restart value. |
리턴 | void |
public UpdaterBase ( IEnvironmentInfo p_eifEnvironmentInfo ) : System | ||
p_eifEnvironmentInfo | IEnvironmentInfo | The application's envrionment info. |
리턴 | System |