C# Class mRemoteNG.App.Update.AppUpdater

Exibir arquivo Open project: mRemoteNG/mRemoteNG Class Usage Examples

Private Properties

Property Type Description
CreateWebClient System.Net.WebClient
DownloadString System.Net.DownloadStringCompletedEventArgs
DownloadUpdateCompleted void
DownloadUpdateProgressChanged void
GetChangeLog void
GetUpdateInfo void
NewDownloadStringCompletedEventArgs System.Net.DownloadStringCompletedEventArgs
SetProxySettings void

Public Methods

Method Description
AppUpdater ( ) : mRemoteNG.Tools
DownloadUpdateAsync ( ) : void
GetChangeLogAsync ( ) : void
GetUpdateInfoAsync ( ) : void
IsUpdateAvailable ( ) : bool
SetProxySettings ( bool useProxy, string address, int port, bool useAuthentication, string username, string password ) : void

Private Methods

Method Description
CreateWebClient ( ) : WebClient
DownloadString ( Uri address ) : DownloadStringCompletedEventArgs
DownloadUpdateCompleted ( object sender, AsyncCompletedEventArgs e ) : void
DownloadUpdateProgressChanged ( object sender, DownloadProgressChangedEventArgs e ) : void
GetChangeLog ( ) : void
GetUpdateInfo ( ) : void
NewDownloadStringCompletedEventArgs ( string result, Exception exception, bool cancelled, object userToken ) : DownloadStringCompletedEventArgs
SetProxySettings ( ) : void

Method Details

AppUpdater() public method

public AppUpdater ( ) : mRemoteNG.Tools
return mRemoteNG.Tools

DownloadUpdateAsync() public method

public DownloadUpdateAsync ( ) : void
return void

GetChangeLogAsync() public method

public GetChangeLogAsync ( ) : void
return void

GetUpdateInfoAsync() public method

public GetUpdateInfoAsync ( ) : void
return void

IsUpdateAvailable() public method

public IsUpdateAvailable ( ) : bool
return bool

SetProxySettings() public method

public SetProxySettings ( bool useProxy, string address, int port, bool useAuthentication, string username, string password ) : void
useProxy bool
address string
port int
useAuthentication bool
username string
password string
return void