Managed API for configuring HidHide.
dotnet build -c:Release
dotnet tool install --global Nefarius.Tools.XMLDoc2Markdown
xmldoc2md .\bin\net7-windows\Nefarius.Drivers.HidHide.dll .\docs\
This is the deprecated approach.
Create an instance of HidHideControlService
whenever you need it.
This class will not block other configuration apps so you can keep it in memory as long as you need. A handle to the driver is only opened when necessary (when the properties are read from or the methods get invoked).
This is the recommended approach.
If you plan to make use of Microsoft Dependency Injection (in ASP.NET Core, Worker Services and alike) and the online services, your app also need to add these NuGet packages:
Microsoft.Extensions.Http
NJsonSchema
You can skip them for the "traditional" use of version 1 of the library. Register it like:
builder.Services.AddHidHide();
Now you can inject and consume:
IHidHideControlService
for the HidHide settings APIHidHideSetupProvider
for update and download information
Check the demo app sources for implementation and usage details.