HexBox 2.0.42
.NET 8.0
This package targets .NET 8.0. The package is compatible with this framework or higher.
.NET Framework 4.8
This package targets .NET Framework 4.8. The package is compatible with this framework or higher.
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" />
<PackageReference Include="HexBox" />
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
#tool nuget:?package=HexBox&version=2.0.42
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 diskDynamicFileByteProvider- efficient large file handlingMemoryDataBlock- in-memory binary data
- Customizable display (colors, fonts, layout)
- Find and replace functionality
- Copy/paste support
- Read-only and editable modes
Documentation
- API Reference: https://github.com/bernharde/hexbox/blob/main/docs/api/
- GitHub Repository: https://github.com/bernharde/hexbox
- License: MIT
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 | Versions 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.