ZeroSystem.Core
1.1.0
dotnet add package ZeroSystem.Core --version 1.1.0
NuGet\Install-Package ZeroSystem.Core -Version 1.1.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="ZeroSystem.Core" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ZeroSystem.Core" Version="1.1.0" />
<PackageReference Include="ZeroSystem.Core" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ZeroSystem.Core --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ZeroSystem.Core, 1.1.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.
#:package ZeroSystem.Core@1.1.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ZeroSystem.Core&version=1.1.0
#tool nuget:?package=ZeroSystem.Core&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
โก ZeroSystem: Sovereign Windows Native & Kernel Subsystem
ZeroSystem (ZeroSystem.Core) is the sovereign Windows Native, Kernel P/Invoke, DWM Desktop, and OS Internals Subsystem of the ZeroPlatform / Zero Universe ecosystem. It provides type-safe, resource-managed wrappers around low-level Win32, NTDLL, and Kernel APIs with zero external dependencies (100% pure C# BCL).
๐ฆ Key Subsystem Capabilities
| Component | Description |
|---|---|
NativeMethods |
Centralized, hardened Win32 P/Invoke declarations for Kernel32, User32, Advapi32, Ntdll, Shell32, and DwmApi. |
DosDeviceManager |
High-level MS-DOS device mapping (DefineDosDevice). Mounts VSS Shadow Copies (\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy{N}) to unused drive letters (Z:) and cleanly unmounts them. |
ProcessGuard |
System privileges escalation (SeBackupPrivilege, SeRestorePrivilege, SeProfileSingleProcessPrivilege), safe PID detection, and foreground window querying. |
MemoryKernel |
Deep RAM optimization via undocumented NtSetSystemInformation (PurgeStandbyList = 4, SystemMemoryList = 80) and process working set trimming. |
UnsafeFileStreamFactory |
Opens permissive non-locking file streams (FileShare.ReadWrite \| FileShare.Delete) to inspect locked files without sharing violations. |
DesktopWallpaperInjector |
Interacts with Progman and DWM (0x052C) to spawn the behind-icon WorkerW canvas for Live Wallpapers and HUD overlays. |
PowerAndDisplayWatcher |
Real-time monitoring of AC/Battery power state and detection of active full-screen applications. |
ShellRegistryHelper |
Registers Windows Explorer context menu actions directly into HKCU\Software\Classes without requiring Administrator privileges. |
๐ Quick Start
NuGet Package Installation
dotnet add package ZeroSystem.Core
Example 1: Mount VSS Shadow Copy
using ZeroSystem;
if (DosDeviceManager.TryMountDevice(@"\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1", out char driveLetter, out string err))
{
Console.WriteLine($"VSS mounted at {driveLetter}:");
// Access historical files via $"{driveLetter}:\\..."
DosDeviceManager.TryUnmountDevice(driveLetter, null, out _);
}
Example 2: Purge Standby List (RAM Optimization)
using ZeroSystem;
if (ProcessGuard.EnablePrivilege(ProcessGuard.SeProfileSingleProcessPrivilege))
{
bool success = MemoryKernel.PurgeStandbyList();
Console.WriteLine($"Standby List Purged: {success}");
}
๐ License
Released under the permissive MIT License.
Architected and developed by Phong Vรต (kzxl).
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net8.0-windows7.0 is compatible. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- ZeroPrimitives.Core (>= 1.3.0)
-
net8.0-windows7.0
- ZeroPrimitives.Core (>= 1.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.