QSoft.DevCon 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package QSoft.DevCon --version 1.0.0
NuGet\Install-Package QSoft.DevCon -Version 1.0.0
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="QSoft.DevCon" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add QSoft.DevCon --version 1.0.0
#r "nuget: QSoft.DevCon, 1.0.0"
#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.
// Install QSoft.DevCon as a Cake Addin
#addin nuget:?package=QSoft.DevCon&version=1.0.0

// Install QSoft.DevCon as a Cake Tool
#tool nuget:?package=QSoft.DevCon&version=1.0.0

Simple example

//get all device
var dds = new DevMgr().AllDevice();
foreach(var item in dds)
{
    System.Diagnostics.Trace.WriteLine(item.Description);
}

//group by device type
var groups = new DevMgr().AllDevice().GroupBy(x=>x.Class);
foreach (var group in groups)
{
    System.Diagnostics.Trace.WriteLine(group.Key);
    foreach(var item in group)
    {
        System.Diagnostics.Trace.WriteLine(item.Description);
    }
}
                
//disable device
var disable_count = new DevMgr().Disable(x => x.Description.Contains("Camera"));

//enable device 
var enable_count = new DevMgr().Enable(x => x.Description.Contains("Camera"));
Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.7.2

    • No dependencies.
  • .NETFramework 4.8

    • 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 Downloads Last updated
2.0.0.1 78 5/8/2024
2.0.0 85 4/29/2024
1.0.1 238 3/21/2023
1.0.0 249 6/9/2022

1. provide device infomation
2. easy to enable/disable device, but need administrator privileges