C# Class Jackett.Services.UpdateService

Inheritance: IUpdateService
Afficher le fichier Open project: WarlaxZ/Jackett

Méthodes publiques

Méthode Description
CheckForUpdatesNow ( ) : void
StartUpdateChecker ( ) : void
UpdateService ( Logger l, IWebClient c, IConfigurationService cfg, ITrayLockService ls ) : ICSharpCode.SharpZipLib.GZip

Private Methods

Méthode Description
AcceptCert ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool
CheckForUpdates ( ) : Task
DownloadRelease ( List assets, bool isWindows, string version ) : Task
ExePath ( ) : string
GetCurrentVersion ( ) : string
SetDownloadHeaders ( WebRequest req ) : WebRequest
StartUpdate ( string updaterExePath, string installLocation, bool isWindows ) : void
UpdateWorkerThread ( ) : void

Method Details

CheckForUpdatesNow() public méthode

public CheckForUpdatesNow ( ) : void
Résultat void

StartUpdateChecker() public méthode

public StartUpdateChecker ( ) : void
Résultat void

UpdateService() public méthode

public UpdateService ( Logger l, IWebClient c, IConfigurationService cfg, ITrayLockService ls ) : ICSharpCode.SharpZipLib.GZip
l Logger
c Jackett.Utils.Clients.IWebClient
cfg IConfigurationService
ls ITrayLockService
Résultat ICSharpCode.SharpZipLib.GZip