C# Class check_services.Inventory

Afficher le fichier Open project: monitoring-plugins-for-windows/check_services

Méthodes publiques

Свойство Type Description
listServicesWithElevatedNeeds List
listServicesWithoutPerfCounters List
listWinServicesFromDefinition List
listWinServicesOnComputer List

Méthodes publiques

Méthode 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 méthode

public static CleanStatus ( string status ) : string
status string
Résultat string

GetDataTabletFromCSVFile() public static méthode

public static GetDataTabletFromCSVFile ( string strCSVFilePath ) : DataTable
strCSVFilePath string
Résultat System.Data.DataTable

ImportServiceDefinitions() public static méthode

public static ImportServiceDefinitions ( ) : bool
Résultat bool

ImportServiceDefinitionsCSV() public static méthode

public static ImportServiceDefinitionsCSV ( ) : bool
Résultat bool

InsertDefaultServiceDefinitions() public static méthode

public static InsertDefaultServiceDefinitions ( ) : bool
Résultat bool

OutputCSV() public static méthode

public static OutputCSV ( ) : int
Résultat int

OutputI2Conf() public static méthode

public static OutputI2Conf ( ) : int
Résultat int

OutputJSON() public static méthode

public static OutputJSON ( ) : int
Résultat int

OutputReadable() public static méthode

public static OutputReadable ( ) : int
Résultat int

RegReadBoolFromHKLMService() public static méthode

public static RegReadBoolFromHKLMService ( string service, string key, bool &value ) : bool
service string
key string
value bool
Résultat bool

RegReadIntFromHKLMService() public static méthode

public static RegReadIntFromHKLMService ( string service, string key, int &value ) : int
service string
key string
value int
Résultat int

RegReadStringFromHKLMService() public static méthode

public static RegReadStringFromHKLMService ( string service, string key, string &value ) : string
service string
key string
value string
Résultat string

ServiceCategoryLookup() public static méthode

public static ServiceCategoryLookup ( string serviceName ) : string
serviceName string
Résultat string

ServiceStartupMode() public static méthode

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
Résultat int

ServicesOnMachine() public static méthode

public static ServicesOnMachine ( ) : bool
Résultat bool

Property Details

listServicesWithElevatedNeeds public_oe static_oe property

public static List listServicesWithElevatedNeeds
Résultat List

listServicesWithoutPerfCounters public_oe static_oe property

public static List listServicesWithoutPerfCounters
Résultat List

listWinServicesFromDefinition public_oe static_oe property

public static List listWinServicesFromDefinition
Résultat List

listWinServicesOnComputer public_oe static_oe property

public static List listWinServicesOnComputer
Résultat List