Eigenverft.NetLib.Security.MachineBinding 1.0.0.5-g17613f8942

This is a prerelease version of Eigenverft.NetLib.Security.MachineBinding.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Eigenverft.NetLib.Security.MachineBinding --version 1.0.0.5-g17613f8942
                    
NuGet\Install-Package Eigenverft.NetLib.Security.MachineBinding -Version 1.0.0.5-g17613f8942
                    
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="Eigenverft.NetLib.Security.MachineBinding" Version="1.0.0.5-g17613f8942" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Eigenverft.NetLib.Security.MachineBinding" Version="1.0.0.5-g17613f8942" />
                    
Directory.Packages.props
<PackageReference Include="Eigenverft.NetLib.Security.MachineBinding" />
                    
Project file
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 Eigenverft.NetLib.Security.MachineBinding --version 1.0.0.5-g17613f8942
                    
#r "nuget: Eigenverft.NetLib.Security.MachineBinding, 1.0.0.5-g17613f8942"
                    
#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 Eigenverft.NetLib.Security.MachineBinding@1.0.0.5-g17613f8942
                    
#: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=Eigenverft.NetLib.Security.MachineBinding&version=1.0.0.5-g17613f8942&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Eigenverft.NetLib.Security.MachineBinding&version=1.0.0.5-g17613f8942&prerelease
                    
Install as a Cake Tool

Eigenverft.NetLib.Security.MachineBinding

NuGet Version NuGet Downloads Repository CI Targets License

Read a supported system/platform UUID and derive a stable, non-secret fingerprint for lightweight machine binding.

✨ At a glance

Capability What it does Starting point
Platform identity Read a normalized system UUID on Windows, Linux, or macOS TryGetSystemPlatformUuid(...)
Machine fingerprint Derive a versioned uppercase SHA-256 hexadecimal value TryGetFingerprint(...) or GetFingerprint()

📦 Installation

dotnet add package Eigenverft.NetLib.Security.MachineBinding

🚀 Quick start

Use the non-throwing API when the platform may not expose a valid UUID:

using System;
using Eigenverft.NetLib.Security.MachineBinding;

if (PhysicalMachineBinding.TryGetFingerprint(out string fingerprint))
{
    Console.WriteLine(fingerprint);
}
else
{
    Console.WriteLine("No supported platform UUID is available.");
}

GetFingerprint() throws when the operating system is unsupported or no valid UUID is available. Windows uses the SMBIOS system UUID, Linux uses the DMI product UUID, and macOS uses IOPlatformUUID. The result is a 64-character uppercase SHA-256 hex string.

🛡️ Security boundary

The fingerprint and underlying platform UUID are machine information, not secret key material. This helper is not encryption or a hardware security boundary; it adds only a lightweight obstacle to copying application files to another machine. A process with access to the original platform UUID can reproduce the fingerprint.

Virtual machines generally bind to the UUID exposed by the hypervisor, so cloning or reprovisioning may preserve or change the value. This package has no dependency on other Eigenverft packages. The separate Transformations package consumes the fingerprint for PhysicalMachineBoundAes(); Configuration.Values exposes a convenience codec over that transform. Neither Data Protection key rings nor TLS certificates are automatically bound to this fingerprint, and WebLib's Kestrel.Sni uses the separate Security.Certificates package.

🎯 Target frameworks

  • net8.0
  • net10.0

📄 License

MIT

Product 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.  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 is compatible.  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.
  • net10.0

    • No dependencies.
  • net8.0

    • No dependencies.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0.5-gdfdd996480 0 9/29/2026
1.0.0.5-g17613f8942 0 9/29/2026
1.0.0.3-g28e841270d 0 9/28/2026
1.0.0.2-gbac57d8b97 0 9/11/2026
1.0.0.2-g9537b96514 0 9/11/2026

Initial capability package extracted from Eigenverft.NetLib.Infrastructure.