C# Class SimpleServices.SimpleServiceApplication

Inheritance: System.Configuration.Install.Installer
Mostra file Open project: davidwhitney/SimpleServices Class Usage Examples

Public Methods

Method Description
IsServiceInstalled ( string serviceName ) : bool
PerformAnyRequestedInstallations ( string args, ApplicationContext context, string assemblyLocation = null ) : void
SimpleServiceApplication ( ) : System

Private Methods

Method Description
ConfigureServiceInstall ( ApplicationContext context ) : void
EnsureElevated ( string args ) : void
GetInstallBehavior ( string args ) : InstallBehavior
InstallAssemblyAsService ( string assemblyLocation ) : void
TryInstallAsService ( string assemblyLocation ) : void
UninstallService ( string assemblyLocation ) : void

Method Details

IsServiceInstalled() public static method

public static IsServiceInstalled ( string serviceName ) : bool
serviceName string
return bool

PerformAnyRequestedInstallations() public static method

public static PerformAnyRequestedInstallations ( string args, ApplicationContext context, string assemblyLocation = null ) : void
args string
context ApplicationContext
assemblyLocation string
return void

SimpleServiceApplication() public method

public SimpleServiceApplication ( ) : System
return System