BlackSharp.Core 1.3.2

Prefix Reserved
dotnet add package BlackSharp.Core --version 1.3.2
                    
NuGet\Install-Package BlackSharp.Core -Version 1.3.2
                    
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="BlackSharp.Core" Version="1.3.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BlackSharp.Core" Version="1.3.2" />
                    
Directory.Packages.props
<PackageReference Include="BlackSharp.Core" />
                    
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 BlackSharp.Core --version 1.3.2
                    
#r "nuget: BlackSharp.Core, 1.3.2"
                    
#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 BlackSharp.Core@1.3.2
                    
#: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=BlackSharp.Core&version=1.3.2
                    
Install as a Cake Addin
#tool nuget:?package=BlackSharp.Core&version=1.3.2
                    
Install as a Cake Tool

<h1 align="center">BlackSharp.Core</h1>

<p align="center"> <img src="https://raw.githubusercontent.com/Blacktempel/BlackSharp/master/Assets/BlackSharpFull.png" width="128" height="128" alt="BlackSharp.Core logo"/> </p>

NuGet NuGet downloads .NET Framework .NET GitHub Sponsors PayPal License

BlackSharp.Core provides general-purpose .NET utilities for application code.

Features

  • SI and IEC data unit conversions for bits and bytes
  • Temperature conversions
  • Extension methods for various types
  • Bit masks, bit extraction and binary-coded decimal helpers
  • Observable collections, segmented ring buffers and pooled byte buffers
  • File and directory helpers
  • UTF-8 text writing and embedded resource extraction
  • Logging, asynchronous execution, lock guards and remaining-time calculations
  • Edit distance (Levenshtein), ISO week dates and German public holiday lookup
  • Reflection helpers for copying value-type properties
  • Dynamic method and constructor delegates
  • SHA3 hashing
  • Native interop helpers for Windows, Linux and macOS
  • and more...

Supported .NET versions

.NET version Support
.NET Framework 4.7.2 ✅
.NET Framework 4.8.1 ✅
.NET Standard 2.0 ✅
.NET 8 ✅
.NET 9 ✅
.NET 10 ✅
.NET 11 ✅

NuGet

dotnet add package BlackSharp.Core

Supported platforms

Operating system Support
Windows ✅
Linux ✅
Other ✅

Usage sample

Convert one mebibyte (MiB) to bytes using the binary IEC unit:

using BlackSharp.Core.Converters;
using BlackSharp.Core.Converters.Enums;

var bytes = DataUnitConverter.Convert(1m, DataUnit.MebiByte, DataUnit.Byte);

Console.WriteLine($"{bytes} bytes");

Support and license

Report issues in the BlackSharp issue tracker. Licensed under the Mozilla Public License 2.0.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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 is compatible.  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.  net11.0 is compatible. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 was computed.  net481 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.7.2

  • .NETFramework 4.8.1

  • .NETStandard 2.0

  • net10.0

    • No dependencies.
  • net11.0

    • No dependencies.
  • net8.0

    • No dependencies.
  • net9.0

    • No dependencies.

NuGet packages (9)

Showing the top 5 NuGet packages that depend on BlackSharp.Core:

Package Downloads
RAMSPDToolkit-NDD

A toolkit for accessing RAMs SPD.

DiskInfoToolkit

A toolkit for accessing disk data.

RAMSPDToolkit

A toolkit for accessing RAMs SPD.

BlackSharp.MVVM

Reusable MVVM foundations for .NET applications.

BlackSharp.UI.Avalonia

Reusable Avalonia functionality for .NET applications.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on BlackSharp.Core:

Repository Stars
breadeding/OmenSuperHub
Control Omen laptop performance, fan speeds, and keyboard lighting, and unlock power limits.
Version Downloads Last Updated
1.3.2 186 11/30/2026
1.3.1 295 11/24/2026
1.3.0 283 11/21/2026
1.2.12 472 11/16/2026
1.2.11 310 11/10/2026
1.2.10 325 11/6/2026
1.2.9 246 11/4/2026
1.2.8 311 11/1/2026
1.2.7 274 10/30/2026
1.2.6 817 10/28/2026
1.2.5 5,676 10/23/2026
1.2.4 242 10/22/2026
1.2.3 313 10/11/2026
1.2.2 4,858 9/23/2026
1.2.1 311 9/14/2026
1.2.0 8,711 8/21/2026
1.1.4 5,157 7/23/2026
1.1.3 5,410 7/19/2026
1.1.2 1,028 6/14/2026
1.1.1 388 5/22/2026
Loading failed