NetworkResurrector.Agent.PublishedLanguage 1.2.1

NetworkResurrector.Agent.PublishedLanguage

NetworkResurrector.Agent is a .NET service specialized in executing Shutdown, Restart, Sleep, Logout, and Lock actions on the host machine on which it is installed.

NetworkResurrector.Agent.PublishedLanguage is a NuGet package that contains the published language of NetworkResurrector.Agent. It simplifies communication with an agent instance within a .NET environment by providing essential DTOs (Data Transfer Objects) and constants. This package helps developers easily integrate the agent's functionality into their applications by defining clear and consistent data structures.

Features

  • Contains DTOs for exchanging data with NetworkResurrector.Agent.
  • Provides constants that facilitate integration with the agent's API.
  • Enables easy integration within .NET environments.

Package Repository

You can install NetworkResurrector.Agent.PublishedLanguage from my self-hosted NuGet feed: https://lab.code-rove.com/public-nuget-server/

Installation

Visual Studio

NuGet.config File

To integrate the package, configure your Visual Studio solution with the following NuGet.config file:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <clear />
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
    <add key="lab.nuget" value="https://lab.code-rove.com/public-nuget-server/v3/index.json" />
  </packageSources>
</configuration>

Add this NuGet.config file to your solution directory, or alternatively, configure the new NuGet feed in the NuGet Package Manager within Visual Studio. After doing this, you can install NetworkResurrector.Agent.PublishedLanguage using the NuGet Package Manager.

CLI

dotnet add package NetworkResurrector.Agent.PublishedLanguage --source https://lab.code-rove.com/public-nuget-server/v3/index.json

Run the above command in a console open in a .NET project directory.

Usage

Once installed, you can use the DTOs and constants provided by the package to communicate with the agent’s API effectively. Here's an example of how to use a DTO in your application:

using NetworkResurrector.Agent.PublishedLanguage;

// Example usage of a DTO from the package
var shutdownDto = new ShutdownDto { Action = "Shutdown", Force = true };

// Your logic here to send the DTO to the agent

Showing the top 20 packages that depend on NetworkResurrector.Agent.PublishedLanguage.

Packages Downloads
NetworkResurrector.Agent.Wrapper
Network resurrector agent wrapper nuget package
51
NetworkResurrector.Agent.Wrapper
NetworkResurrector.Agent.Wrapper is a NuGet package that simplifies the integration of the agent within a .NET environment. It registers a service, IResurrectorAgentService, in the application’s service collection, providing methods for each supported action.
5

1.2.1 release [2025-03-29 01:59] ◾ Readme content update

1.2.0 release [2025-03-29 00:38] ◾ Added support for .NET 8.0 ◾ Added release notes, icon and readme files

1.1.0 release [2023-01-29 1:53] ◾ Code refactoring ◾ .NET6 upgrade

1.0.0 release [2021-12-21 23:52] ◾ Initial release of NetworkResurrector.Agent.PublishedLanguage

.NET 8.0

Version Downloads Last updated
1.2.1 5 03/29/2025
1.2.0 5 03/28/2025
1.1.0 58 02/25/2023