C# Class ElevationHelper.Services.WindowsServices.ServiceHandler

Inheritance: IServiceHandler
Exibir arquivo Open project: brunomlopes/ILoveLucene

Public Methods

Method Description
AmIAlive ( ) : void
RestartService ( string serviceName ) : void
StartService ( string serviceName ) : void
StopService ( string serviceName ) : void

Private Methods

Method Description
GetService ( string serviceName ) : ServiceController

Method Details

AmIAlive() public method

public AmIAlive ( ) : void
return void

RestartService() public method

public RestartService ( string serviceName ) : void
serviceName string
return void

StartService() public method

public StartService ( string serviceName ) : void
serviceName string
return void

StopService() public method

public StopService ( string serviceName ) : void
serviceName string
return void