C# Class Jackett.Services.UpdateService

Inheritance: IUpdateService
Show file Open project: WarlaxZ/Jackett

Public Methods

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

Private Methods

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

public CheckForUpdatesNow ( ) : void
return void

StartUpdateChecker() public method

public StartUpdateChecker ( ) : void
return void

UpdateService() public method

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