HMT 1.0.0.2

Hardware Management Tools

There is a newer version of this package available.
See the version list below for details.
Install-Package HMT -Version 1.0.0.2
dotnet add package HMT --version 1.0.0.2
<PackageReference Include="HMT" Version="1.0.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HMT --version 1.0.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: HMT, 1.0.0.2"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

It is an administrative toolkit that provides easy access to computer hardware.

Access to hardware is designed for Windows platforms.

Linux support will be provided in the future.

Install

Package Manager

PM> Install-Package HMT

.NET CLI

> dotnet add package HMT

PackageReferance

<PackageReference Include="HMT" Version="1.0.0.2" />

Usage

HardwareMonitor.cs

namespace ConsoleApp
{
    using HMT.Hardware;
	
	/// <summary>
    /// Hardware Monitor Example
    /// </summary>
    class HardwareMonitor
    {
        static void Main(string[] args)
        {
            // actual
            Printer hardware;

            // Initalize Test
            hardware = new Printer();

            // Hardware List 
            foreach (var item in hardware.Finder.GetHardwares())
            {
                System.Console.WriteLine($"Name : {item.Name}");

                // Print Hardware Property List
                foreach (var property in item.Properties)
                {
                    if (property.Value != null)
                        System.Console.WriteLine($"{property.Name}\t|{property.Value}");
                }
            }

            // Wait Key
            System.Console.ReadKey();
        }
    }
}

Try

HardwareWatcher.cs


namespace ConsoleApp{

    using HMT;
    using HMT.Hardware;

    /// <summary>
    /// Hardware Watcher Example
    /// </summary>
    class HardwareWatcher
    {
        public void Main(string[] args)
        {
            // actual
            Printer hardware;

            // Initalize Test
            hardware = new Printer();

            // Hardware Watcher Event
            hardware
                .Watcher
                .Signal += Watcher_Signal;

            // Hardware Watcher Start
            hardware
                .Watcher
                .Watch();
        }

        /// <summary>
        /// Hardware Event Signal
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void Watcher_Signal(object sender, HardwareEvent e)
        {
            // Hardware Event Data
            System.Console.WriteLine(e);
        }
    }
}

Pipeline

Build Status

It is an administrative toolkit that provides easy access to computer hardware.

Access to hardware is designed for Windows platforms.

Linux support will be provided in the future.

Install

Package Manager

PM> Install-Package HMT

.NET CLI

> dotnet add package HMT

PackageReferance

<PackageReference Include="HMT" Version="1.0.0.2" />

Usage

HardwareMonitor.cs

namespace ConsoleApp
{
    using HMT.Hardware;
	
	/// <summary>
    /// Hardware Monitor Example
    /// </summary>
    class HardwareMonitor
    {
        static void Main(string[] args)
        {
            // actual
            Printer hardware;

            // Initalize Test
            hardware = new Printer();

            // Hardware List 
            foreach (var item in hardware.Finder.GetHardwares())
            {
                System.Console.WriteLine($"Name : {item.Name}");

                // Print Hardware Property List
                foreach (var property in item.Properties)
                {
                    if (property.Value != null)
                        System.Console.WriteLine($"{property.Name}\t|{property.Value}");
                }
            }

            // Wait Key
            System.Console.ReadKey();
        }
    }
}

Try

HardwareWatcher.cs


namespace ConsoleApp{

    using HMT;
    using HMT.Hardware;

    /// <summary>
    /// Hardware Watcher Example
    /// </summary>
    class HardwareWatcher
    {
        public void Main(string[] args)
        {
            // actual
            Printer hardware;

            // Initalize Test
            hardware = new Printer();

            // Hardware Watcher Event
            hardware
                .Watcher
                .Signal += Watcher_Signal;

            // Hardware Watcher Start
            hardware
                .Watcher
                .Watch();
        }

        /// <summary>
        /// Hardware Event Signal
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void Watcher_Signal(object sender, HardwareEvent e)
        {
            // Hardware Event Data
            System.Console.WriteLine(e);
        }
    }
}

Pipeline

Build Status

Release Notes

HMT 1.0.0.1 Hardware Watcher Add

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.4 258 9/19/2019
1.0.1 242 7/18/2019
1.0.0.9 250 7/16/2019
1.0.0.8 246 7/15/2019
1.0.0.7 232 7/15/2019
1.0.0.6 241 7/15/2019
1.0.0.5 232 7/14/2019
1.0.0.4 255 7/14/2019
1.0.0.3 254 7/14/2019
1.0.0.2 227 7/13/2019
1.0.0.1 252 7/13/2019
1.0.0 229 7/13/2019
Show less