C# Class mRemoteNG.App.Update.AppUpdater

Afficher le fichier Open project: mRemoteNG/mRemoteNG Class Usage Examples

Private Properties

Свойство Type Description
CreateWebClient System.Net.WebClient
DownloadString System.Net.DownloadStringCompletedEventArgs
DownloadUpdateCompleted void
DownloadUpdateProgressChanged void
GetChangeLog void
GetUpdateInfo void
NewDownloadStringCompletedEventArgs System.Net.DownloadStringCompletedEventArgs
SetProxySettings void

Méthodes publiques

Méthode 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

Méthode 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 méthode

public AppUpdater ( ) : mRemoteNG.Tools
Résultat mRemoteNG.Tools

DownloadUpdateAsync() public méthode

public DownloadUpdateAsync ( ) : void
Résultat void

GetChangeLogAsync() public méthode

public GetChangeLogAsync ( ) : void
Résultat void

GetUpdateInfoAsync() public méthode

public GetUpdateInfoAsync ( ) : void
Résultat void

IsUpdateAvailable() public méthode

public IsUpdateAvailable ( ) : bool
Résultat bool

SetProxySettings() public méthode

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
Résultat void