C# Class check_services.Inventory

Mostrar archivo Open project: monitoring-plugins-for-windows/check_services

Public Properties

Property Type Description
listServicesWithElevatedNeeds List
listServicesWithoutPerfCounters List
listWinServicesFromDefinition List
listWinServicesOnComputer List

Public Methods

Method Description
CleanStatus ( string status ) : string
GetDataTabletFromCSVFile ( string strCSVFilePath ) : DataTable
ImportServiceDefinitions ( ) : bool
ImportServiceDefinitionsCSV ( ) : bool
InsertDefaultServiceDefinitions ( ) : bool
OutputCSV ( ) : int
OutputI2Conf ( ) : int
OutputJSON ( ) : int
OutputReadable ( ) : int
RegReadBoolFromHKLMService ( string service, string key, bool &value ) : bool
RegReadIntFromHKLMService ( string service, string key, int &value ) : int
RegReadStringFromHKLMService ( string service, string key, string &value ) : string
ServiceCategoryLookup ( string serviceName ) : string
ServiceStartupMode ( string service, int &iRegKeyStart, bool &bRegKeyDelayedAutoStart, bool &bRegKeyWOW64, string &strObjectName, string &strFileOwner, string &strImagePath, string &strResolvedImagePath ) : int
ServicesOnMachine ( ) : bool

Method Details

CleanStatus() public static method

public static CleanStatus ( string status ) : string
status string
return string

GetDataTabletFromCSVFile() public static method

public static GetDataTabletFromCSVFile ( string strCSVFilePath ) : DataTable
strCSVFilePath string
return System.Data.DataTable

ImportServiceDefinitions() public static method

public static ImportServiceDefinitions ( ) : bool
return bool

ImportServiceDefinitionsCSV() public static method

public static ImportServiceDefinitionsCSV ( ) : bool
return bool

InsertDefaultServiceDefinitions() public static method

public static InsertDefaultServiceDefinitions ( ) : bool
return bool

OutputCSV() public static method

public static OutputCSV ( ) : int
return int

OutputI2Conf() public static method

public static OutputI2Conf ( ) : int
return int

OutputJSON() public static method

public static OutputJSON ( ) : int
return int

OutputReadable() public static method

public static OutputReadable ( ) : int
return int

RegReadBoolFromHKLMService() public static method

public static RegReadBoolFromHKLMService ( string service, string key, bool &value ) : bool
service string
key string
value bool
return bool

RegReadIntFromHKLMService() public static method

public static RegReadIntFromHKLMService ( string service, string key, int &value ) : int
service string
key string
value int
return int

RegReadStringFromHKLMService() public static method

public static RegReadStringFromHKLMService ( string service, string key, string &value ) : string
service string
key string
value string
return string

ServiceCategoryLookup() public static method

public static ServiceCategoryLookup ( string serviceName ) : string
serviceName string
return string

ServiceStartupMode() public static method

public static ServiceStartupMode ( string service, int &iRegKeyStart, bool &bRegKeyDelayedAutoStart, bool &bRegKeyWOW64, string &strObjectName, string &strFileOwner, string &strImagePath, string &strResolvedImagePath ) : int
service string
iRegKeyStart int
bRegKeyDelayedAutoStart bool
bRegKeyWOW64 bool
strObjectName string
strFileOwner string
strImagePath string
strResolvedImagePath string
return int

ServicesOnMachine() public static method

public static ServicesOnMachine ( ) : bool
return bool

Property Details

listServicesWithElevatedNeeds public_oe static_oe property

public static List listServicesWithElevatedNeeds
return List

listServicesWithoutPerfCounters public_oe static_oe property

public static List listServicesWithoutPerfCounters
return List

listWinServicesFromDefinition public_oe static_oe property

public static List listWinServicesFromDefinition
return List

listWinServicesOnComputer public_oe static_oe property

public static List listWinServicesOnComputer
return List