Method | Description | |
---|---|---|
DeletePreviouslyInstalledServices ( ) : void |
Deletes previously installed services.
|
|
GetServiceItemList ( TargetFramework targetFramework, string binaryPathName ) : List |
Gets services properties.
|
Method | Description | |
---|---|---|
CreateCustomProcess ( string command, string arguments, bool runAsAdministrator = false ) : |
Creates process with custom settings.
|
|
GetInstalledServiceBinaryPathName ( string serviceName ) : string |
Gets binary path name for service with specified service name.
|
|
GetInstalledServices ( ) : HashSet |
Gets properties of installed services.
|
|
InstallService ( TargetFramework targetFramework, string binaryPathName ) : void |
Installs services.
|
|
ParseServiceBinaryPathName ( string output ) : string |
Parses output of "sc qc SERVICE_NAME" command to extract binary path name.
|
|
ParseServicesOutput ( string output ) : HashSet |
Parses output of "sc query" command to extract currently installed services.
|
|
UninstallService ( TargetFramework targetFramework, string binaryPathName ) : void |
Uninstalls services.
|
public static DeletePreviouslyInstalledServices ( ) : void | ||
return | void |
public static GetServiceItemList ( TargetFramework targetFramework, string binaryPathName ) : List |
||
targetFramework | TargetFramework | |
binaryPathName | string | |
return | List |