HexBox 2.0.42

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

HexBox - NuGet Package

Be.Windows.Forms.HexBox is a reusable WinForms control for viewing and editing binary data in hexadecimal format.

Quick Start

Installation

dotnet add package HexBox

Or via NuGet Package Manager:

Install-Package HexBox

Basic Usage

using Be.Windows.Forms;

// Create and add HexBox control to your form
HexBox hexBox = new HexBox();
this.Controls.Add(hexBox);

// Load a file
FileByteProvider provider = new FileByteProvider("path/to/file.bin");
hexBox.ByteProvider = provider;

Features

  • View and edit binary files in hexadecimal format
  • Fast performance with large files
  • Intuitive byte navigation and selection
  • Multiple byte provider implementations:
    • FileByteProvider - read files from disk
    • DynamicFileByteProvider - efficient large file handling
    • MemoryDataBlock - in-memory binary data
  • Customizable display (colors, fonts, layout)
  • Find and replace functionality
  • Copy/paste support
  • Read-only and editable modes

Documentation

Supported Frameworks

  • .NET Framework 4.8
  • .NET 8.0 (Windows)
  • .NET 10.0 (Windows)

Example

// Create hex box with memory provider
var hexBox = new HexBox();
byte[] data = File.ReadAllBytes("binary_file.bin");
hexBox.ByteProvider = new MemoryDataBlock(data);
hexBox.ReadOnly = false; // Enable editing
this.Controls.Add(hexBox);

Contributing

Contributions are welcome! Please visit the GitHub repository for guidelines.

License

This project is licensed under the MIT License - see LICENSE file for details.


Version: 2.0+
Author: Bernhard Elbl
Repository: https://github.com/bernharde/hexbox

Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed.  net10.0-windows7.0 is compatible. 
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8

    • No dependencies.
  • net10.0-windows7.0

    • No dependencies.
  • net8.0-windows7.0

    • 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
2.0.42 68 4/13/2026
2.0.41 55 4/13/2026
2.0.39 59 4/13/2026
2.0.38 53 4/13/2026
2.0.35 52 4/13/2026
2.0.33 54 4/13/2026