C# Класс check_services.Inventory

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
listServicesWithElevatedNeeds List
listServicesWithoutPerfCounters List
listWinServicesFromDefinition List
listWinServicesOnComputer List

Открытые методы

Метод Описание
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

Описание методов

CleanStatus() публичный статический Метод

public static CleanStatus ( string status ) : string
status string
Результат string

GetDataTabletFromCSVFile() публичный статический Метод

public static GetDataTabletFromCSVFile ( string strCSVFilePath ) : DataTable
strCSVFilePath string
Результат System.Data.DataTable

ImportServiceDefinitions() публичный статический Метод

public static ImportServiceDefinitions ( ) : bool
Результат bool

ImportServiceDefinitionsCSV() публичный статический Метод

public static ImportServiceDefinitionsCSV ( ) : bool
Результат bool

InsertDefaultServiceDefinitions() публичный статический Метод

public static InsertDefaultServiceDefinitions ( ) : bool
Результат bool

OutputCSV() публичный статический Метод

public static OutputCSV ( ) : int
Результат int

OutputI2Conf() публичный статический Метод

public static OutputI2Conf ( ) : int
Результат int

OutputJSON() публичный статический Метод

public static OutputJSON ( ) : int
Результат int

OutputReadable() публичный статический Метод

public static OutputReadable ( ) : int
Результат int

RegReadBoolFromHKLMService() публичный статический Метод

public static RegReadBoolFromHKLMService ( string service, string key, bool &value ) : bool
service string
key string
value bool
Результат bool

RegReadIntFromHKLMService() публичный статический Метод

public static RegReadIntFromHKLMService ( string service, string key, int &value ) : int
service string
key string
value int
Результат int

RegReadStringFromHKLMService() публичный статический Метод

public static RegReadStringFromHKLMService ( string service, string key, string &value ) : string
service string
key string
value string
Результат string

ServiceCategoryLookup() публичный статический Метод

public static ServiceCategoryLookup ( string serviceName ) : string
serviceName string
Результат string

ServiceStartupMode() публичный статический Метод

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
Результат int

ServicesOnMachine() публичный статический Метод

public static ServicesOnMachine ( ) : bool
Результат bool

Описание свойств

listServicesWithElevatedNeeds публичное статическое свойство

public static List listServicesWithElevatedNeeds
Результат List

listServicesWithoutPerfCounters публичное статическое свойство

public static List listServicesWithoutPerfCounters
Результат List

listWinServicesFromDefinition публичное статическое свойство

public static List listWinServicesFromDefinition
Результат List

listWinServicesOnComputer публичное статическое свойство

public static List listWinServicesOnComputer
Результат List