cs-windows-service-toolkit 1.0.1

Windows Service Toolkit

Install-Package cs-windows-service-toolkit -Version 1.0.1
dotnet add package cs-windows-service-toolkit --version 1.0.1
<PackageReference Include="cs-windows-service-toolkit" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add cs-windows-service-toolkit --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: cs-windows-service-toolkit, 1.0.1"
#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 cs-windows-service-toolkit as a Cake Addin
#addin nuget:?package=cs-windows-service-toolkit&version=1.0.1

// Install cs-windows-service-toolkit as a Cake Tool
#tool nuget:?package=cs-windows-service-toolkit&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

cs-windows-service-toolkit

Toolkit that provides convenient methods for .NET application to easily integrate background windows services

Install

Install-Package cs-windows-service-toolkit

Usage

The sample code shows how to use this lib:

namespace WindowsServiceToolkit
{
    class Program
    {
        static void Main(string[] args)
        {
            string serviceName = "notepad";
            int timeoutMilliseconds = 1000;
            WinServiceUtil.StartService(serviceName, timeoutMilliseconds);
            WinServiceUtil.IsServiceInstalled(serviceName);
            WinServiceUtil.StopService(serviceName, timeoutMilliseconds);
            WinServiceUtil.RestartService(serviceName, timeoutMilliseconds);
        }
    }
}

cs-windows-service-toolkit

Toolkit that provides convenient methods for .NET application to easily integrate background windows services

Install

Install-Package cs-windows-service-toolkit

Usage

The sample code shows how to use this lib:

namespace WindowsServiceToolkit
{
    class Program
    {
        static void Main(string[] args)
        {
            string serviceName = "notepad";
            int timeoutMilliseconds = 1000;
            WinServiceUtil.StartService(serviceName, timeoutMilliseconds);
            WinServiceUtil.IsServiceInstalled(serviceName);
            WinServiceUtil.StopService(serviceName, timeoutMilliseconds);
            WinServiceUtil.RestartService(serviceName, timeoutMilliseconds);
        }
    }
}

Release Notes

Windows Service Toolkit in .NET 4.6.1

Dependencies

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.1 589 4/30/2018