System.ServiceProcess.ServiceController 5.0.0

Provides the System.ServiceProcess.ServiceContainer class, which allows you to connect to a running or stopped service, manipulate it, or get information about it.

Commonly Used Types:
System.ServiceProcess.ServiceController
System.ServiceProcess.ServiceControllerStatus
System.ServiceProcess.ServiceType

When using NuGet 3.x this package requires at least version 3.4.

There is a newer prerelease version of this package available.
See the version list below for details.

Requires NuGet 2.12 or higher.

Install-Package System.ServiceProcess.ServiceController -Version 5.0.0
dotnet add package System.ServiceProcess.ServiceController --version 5.0.0
<PackageReference Include="System.ServiceProcess.ServiceController" Version="5.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add System.ServiceProcess.ServiceController --version 5.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: System.ServiceProcess.ServiceController, 5.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install System.ServiceProcess.ServiceController as a Cake Addin
#addin nuget:?package=System.ServiceProcess.ServiceController&version=5.0.0

// Install System.ServiceProcess.ServiceController as a Cake Tool
#tool nuget:?package=System.ServiceProcess.ServiceController&version=5.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

https://go.microsoft.com/fwlink/?LinkID=799421

NuGet packages (99)

Showing the top 5 NuGet packages that depend on System.ServiceProcess.ServiceController:

Package Downloads
Microsoft.Windows.Compatibility
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET Core as well as .NET Standard.
Microsoft.Web.Administration
This package contains the .NET Core version of the Microsoft Web Administration assembly.
Microsoft.Extensions.Hosting.WindowsServices
.NET hosting infrastructure for Windows Services.
Microsoft.AspNetCore.Hosting.WindowsServices
ASP.NET Core hosting infrastructure and startup logic for web applications running within a Windows service. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/718171eeb4bd236ab4f0d9b1ecd97ecc63ec0be1
TopShelf.ServiceInstaller
Topshelf is an open source project for hosting services without friction. By referencing Topshelf, your console application *becomes* a service installer with a comprehensive set of command-line options for installing, configuring, and running your application as a service.

GitHub repositories (41)

Showing the top 5 popular GitHub repositories that depend on System.ServiceProcess.ServiceController:

Repository Stars
microsoft/PowerToys
Windows system utilities to maximize productivity
PowerShell/PowerShell
PowerShell for every system!
NetchX/Netch
A simple proxy client like SSTap
Jackett/Jackett
API Support for your favorite torrent trackers
winsw/winsw
A wrapper executable that can run any executable as a Windows service, in a permissive license.

Version History

Version Downloads Last updated
6.0.0-preview.3.21201.4 5,213 4/8/2021
6.0.0-preview.2.21154.6 6,469 3/11/2021
6.0.0-preview.1.21102.12 4,066 2/12/2021
5.0.0 2,395,817 11/9/2020
5.0.0-rc.2.20475.5 10,945 10/13/2020
5.0.0-rc.1.20451.14 6,523 9/14/2020
5.0.0-preview.8.20407.11 5,620 8/25/2020
5.0.0-preview.7.20364.11 15,461 7/21/2020
5.0.0-preview.6.20305.6 6,884 6/25/2020
5.0.0-preview.5.20278.1 5,167 6/10/2020
5.0.0-preview.4.20251.6 10,779 5/18/2020
5.0.0-preview.3.20214.6 12,889 4/23/2020
5.0.0-preview.2.20160.6 4,736 4/2/2020
5.0.0-preview.1.20120.5 2,701 3/16/2020
4.7.0 5,773,959 12/3/2019
4.7.0-preview3.19551.4 5,233 11/13/2019
4.7.0-preview2.19523.17 5,916 11/1/2019
4.7.0-preview1.19504.10 10,638 10/15/2019
4.6.0 2,041,874 9/23/2019
4.6.0-rc1.19456.4 4,445 9/16/2019
4.6.0-preview9.19421.4 8,137 9/4/2019
4.6.0-preview9.19416.11 239 9/4/2019
4.6.0-preview8.19405.3 9,760 8/13/2019
4.6.0-preview7.19362.9 12,396 7/23/2019
4.6.0-preview6.19303.8 35,777 6/12/2019
4.6.0-preview6.19264.9 255 9/4/2019
4.6.0-preview5.19224.8 7,418 5/6/2019
4.6.0-preview4.19212.13 2,955 4/18/2019
4.6.0-preview3.19128.7 6,655 3/6/2019
4.6.0-preview.19073.11 16,999 1/29/2019
4.6.0-preview.18571.3 11,939 12/3/2018
4.5.0 8,401,212 5/29/2018
4.5.0-rc1 29,642 5/6/2018
4.5.0-preview2-26406-04 15,027 4/10/2018
4.5.0-preview1-26216-02 21,973 2/26/2018
4.5.0-preview1-25914-04 101,319 11/15/2017
4.4.1 188,365 12/12/2017
4.4.0 339,241 8/11/2017
4.4.0-preview2-25405-01 1,036 6/27/2017
4.4.0-preview1-25305-02 4,221 5/9/2017
4.3.0 133,832 11/15/2016
4.3.0-preview1-24530-04 11,757 10/24/2016
4.1.0 894,312 6/27/2016
4.1.0-rc2-24027 1,449 5/16/2016
4.1.0-beta-23516 2,056 11/18/2015
4.1.0-beta-23409 784 10/15/2015
4.1.0-beta-23225 733 9/2/2015
4.0.0-beta-23123 1,099 7/29/2015
4.0.0-beta-23109 709 7/27/2015
4.0.0-beta-23019 797 6/30/2015
4.0.0-beta-22816 862 4/24/2015
4.0.0-beta-22605 942 2/13/2015
4.0.0-beta-22416 1,152 1/16/2015