PeanutButter
|
Public Member Functions | |||
string | FindServiceByPid (int pid) | ||
Attempt to identify the service associated with the provided process id. If the process id is not for a service, the return value will be null.
| |||
IEnumerable< string > | ListAllServices () | ||
List all known services on the local machine.
| |||
IDictionary< string, string > | QueryAll (string serviceName) | ||
Query all information (queryex and config) about a service by name.
| |||
IDictionary< string, string > | QueryEx (string serviceName) | ||
Perform a queryex for a service by name.
| |||
IDictionary< string, string > | QueryConfiguration (string serviceName) | ||
Query service configuration by service name.
| |||
IDictionary< string, string > | RunServiceControl (params string[] args) | ||
Run a raw sc.exe command with the provided arguments and get back the raw-ish key-value pairs of information.
|
string PeanutButter.WindowsServiceManagement.ServiceControlInterface.FindServiceByPid | ( | int | pid | ) |
Attempt to identify the service associated with the provided process id. If the process id is not for a service, the return value will be null.
pid |
Implements PeanutButter.WindowsServiceManagement.IServiceControlInterface.
IEnumerable< string > PeanutButter.WindowsServiceManagement.ServiceControlInterface.ListAllServices | ( | ) |
List all known services on the local machine.
Implements PeanutButter.WindowsServiceManagement.IServiceControlInterface.
IDictionary< string, string > PeanutButter.WindowsServiceManagement.ServiceControlInterface.QueryAll | ( | string | serviceName | ) |
Query all information (queryex and config) about a service by name.
serviceName |
Implements PeanutButter.WindowsServiceManagement.IServiceControlInterface.
IDictionary< string, string > PeanutButter.WindowsServiceManagement.ServiceControlInterface.QueryConfiguration | ( | string | serviceName | ) |
Query service configuration by service name.
serviceName |
Implements PeanutButter.WindowsServiceManagement.IServiceControlInterface.
IDictionary< string, string > PeanutButter.WindowsServiceManagement.ServiceControlInterface.QueryEx | ( | string | serviceName | ) |
Perform a queryex for a service by name.
serviceName |
Implements PeanutButter.WindowsServiceManagement.IServiceControlInterface.
IDictionary< string, string > PeanutButter.WindowsServiceManagement.ServiceControlInterface.RunServiceControl | ( | params string[] | args | ) |
Run a raw sc.exe command with the provided arguments and get back the raw-ish key-value pairs of information.
args |
Implements PeanutButter.WindowsServiceManagement.IServiceControlInterface.