C# Class Gwupe.Service.GwupeService

Inheritance: System.ServiceProcess.ServiceBase
ファイルを表示 Open project: gwupe/Gwupe

Public Properties

Property Type Description
Servers List

Public Methods

Method Description
DisableAutoUpgrade ( bool disableAutoUpgrade ) : void
GwupeService ( ) : System
HardwareFingerprint ( ) : String
Ping ( ) : void
SetPreRelease ( bool preRelease ) : void
VNCStartService ( ) : bool
getServerIPs ( ) : List
saveServerIPs ( List newIPs ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnStart ( string args ) : void
OnStop ( ) : void

Private Methods

Method Description
BackgroundInit ( ) : void
CheckForNewVersion ( ) : void
GetDownloadUrl ( string filename ) : string
GetRegistry ( ) : RegistryKey
GetUpdateUrl ( System.Version assemblyVersion ) : string
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

IsAutoUpgrade ( ) : bool
IsPreRelease ( ) : bool
SaveVersion ( ) : void
SetServiceStatus ( IntPtr handle, ServiceStatus &serviceStatus ) : bool
ValidateServerWithCA ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool
WriteEventLog ( String entry ) : void
initServers ( ) : void

Method Details

DisableAutoUpgrade() public method

public DisableAutoUpgrade ( bool disableAutoUpgrade ) : void
disableAutoUpgrade bool
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

GwupeService() public method

public GwupeService ( ) : System
return System

HardwareFingerprint() public method

public HardwareFingerprint ( ) : String
return String

OnStart() protected method

protected OnStart ( string args ) : void
args string
return void

OnStop() protected method

protected OnStop ( ) : void
return void

Ping() public method

public Ping ( ) : void
return void

SetPreRelease() public method

public SetPreRelease ( bool preRelease ) : void
preRelease bool
return void

VNCStartService() public method

public VNCStartService ( ) : bool
return bool

getServerIPs() public method

public getServerIPs ( ) : List
return List

saveServerIPs() public method

public saveServerIPs ( List newIPs ) : void
newIPs List
return void

Property Details

Servers public_oe property

public List Servers
return List