KNSoft.CBS
1.0.0-beta
dotnet add package KNSoft.CBS --version 1.0.0-beta
NuGet\Install-Package KNSoft.CBS -Version 1.0.0-beta
<PackageReference Include="KNSoft.CBS" Version="1.0.0-beta" />
<PackageVersion Include="KNSoft.CBS" Version="1.0.0-beta" />
<PackageReference Include="KNSoft.CBS" />
paket add KNSoft.CBS --version 1.0.0-beta
#r "nuget: KNSoft.CBS, 1.0.0-beta"
#:package KNSoft.CBS@1.0.0-beta
#addin nuget:?package=KNSoft.CBS&version=1.0.0-beta&prerelease
#tool nuget:?package=KNSoft.CBS&version=1.0.0-beta&prerelease
KNSoft.CBS
KNSoft.CBS is a small C library for managing online Windows optional features through the native Component-Based Servicing (CBS) COM interfaces. It does not use DISM or WMI.
The library opens the system CBS local server, works with the @Foundation package, and exposes only the operations
needed by KNSoft.ZPigeon:
- enumerate root Windows features and their current, intended, and requested states;
- enable a feature, optionally enabling its parent dependencies;
- disable a feature;
- commit changes and report whether a reboot is required.
CBS is an undocumented Windows interface. The ABI used here has been verified against current Windows 11 servicing binaries and the interface lineage present on Windows 10 and later.
Build
Use Visual Studio 2026/MSBuild 18 to build Source\KNSoft.CBS.slnx.
Usage
Include KNSoft/CBS/CBS.h and link KNSoft.CBS.lib. NuGet consumers get the include path and
architecture-specific library through KNSoft.CBS.targets; the static library carries its system link dependency.
Feature strings remain valid only for the duration of the enumeration callback. Returning FALSE stops enumeration.
Learn more about Target Frameworks and .NET Standard.
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 | Downloads | Last Updated |
|---|---|---|
| 1.0.0-beta | 97 | 8/28/2026 |