Skip to content

Initial release

Latest

Choose a tag to compare

@Ste1io Ste1io released this 23 Oct 13:45

SK.Xbox360.CPUKey v1.0.1 – Initial Release

An immutable .NET data type for Xbox 360 CPUKeys, offering value semantics with optimized parsing, validation, conversion, and utility operations. Suitable for use in collections requiring fast look-up and equality checks.

Features

  • Immutable value type for CPUKey representation
  • Performs sanity checks and cryptographic validation on construction
  • Conversion utilities
  • Equality and hash code optimizations

Installation

Install via NuGet:

dotnet add package SK.Xbox360.CPUKey --version 1.0.1

Usage Example

using SK.Xbox360.CPUKey;

// Validate and construct CPUKey objects from strings, byte arrays, or Spans
var cpukey1 = CPUKey.Parse("C0DE8DAAE05493BCB0F1664FB1751F00"); // throwing
var success = CPUKey.TryParse("C0DE8DAAE05493BCB0F1664FB1751F00", out var cpukey2); // non-throwing

// Compare, store in collections, convert, inspect, print...
if (success && cpukey2 == cpukey1 && cpukey1 == "C0DE8DAAE05493BCB0F1664FB1751F00")
{
	Console.WriteLine($"CPUKeys are equal: {cpukey1}");
}

Release Details

Binaries

  • SK.Xbox360.CPUKey.1.0.1.nupkg
  • SK.Xbox360.CPUKey.1.0.1.snupkg (symbols)

License

This project is licensed under GPL-3.0-only. See LICENSE.md for full details.

Authors

Developed by Stelio Kontos (Ste1io)