EBCEYS.OSServiceHelper 1.0.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package EBCEYS.OSServiceHelper --version 1.0.0.1
                    
NuGet\Install-Package EBCEYS.OSServiceHelper -Version 1.0.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EBCEYS.OSServiceHelper" Version="1.0.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EBCEYS.OSServiceHelper" Version="1.0.0.1" />
                    
Directory.Packages.props
<PackageReference Include="EBCEYS.OSServiceHelper" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add EBCEYS.OSServiceHelper --version 1.0.0.1
                    
#r "nuget: EBCEYS.OSServiceHelper, 1.0.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=EBCEYS.OSServiceHelper&version=1.0.0.1
                    
Install EBCEYS.OSServiceHelper as a Cake Addin
#tool nuget:?package=EBCEYS.OSServiceHelper&version=1.0.0.1
                    
Install EBCEYS.OSServiceHelper as a Cake Tool

EBCEYS.OSServiceHelper

.NET

��������:

����� �������������� ���������� ������ ServiceController ��� Windows. ���������� ��������� ��������� �������� � �� Windows.

� ������� ���������, �������� � ��������� �������� ������� sc.exe.

���������� �� ������ ������ ��������� ��������� IOSServiceHelper � ��� ������������� ��� �� Windows WindowsServiceHelper.

IOSServiceHelper

������� ��������� ��� ServiceHelper.

�������� � ���� ��������� �������:

  • string ServiceName { get; } - ��� ������.
  • bool IsServiceExists(); - �������� ��� ������ �����������.
  • bool IsServiceRunning(); - �������� ��� ������ ��������.
  • bool IsServiceStoped(); - �������� ��� ������ �����������.
  • void StartService(string[]? args = null, WaitForStatusModel waitFor = default); - ������ ������.
  • void StopService(bool stopDependetServices = false, WaitForStatusModel waitFor = default); - ��������� ������.

IWindowsServiceHelper

��������� IOSServiceHelper.

�������� � ���� ������ ��� ������ �� �������� Windows:

  • bool DeleteService(TimeSpan waitForExit); - �������� ������.
  • string? SetDescriptionForService(string description, WaitForStatusModel waitFor = default); - ��������� �������� ��� ������.
  • ServiceControllerStatus? GetServiceStatus(); - ��������� ������� ������.
  • bool RecreateService(); - ������������ �������� ServiceController.
  • void InstallService(string path, InstallServiceStartMode startMode, WaitForStatusModel model = default); - ��������� ������.
  • void PauseService(WaitForStatusModel waitFor = default); - ���������� ������ �� �����.

WindowsServiceHelper

�������������� ��������� IWindowsServiceHelper ��� ������ �� �������� windows.

����������� ������ �������������� �� ������ Debug.

�������

GitHub - EBCEYS.DayOfAllLoversService

Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0.4 96 2 months ago
1.0.0.3 96 2 months ago
1.0.0.2 94 2 months ago
1.0.0.1 97 2 months ago
1.0.0 100 2 months ago