Answer:Recommendations for a Hex Viewer Control for Windows.Forms?

There is a ByteViewer Control directly available in the .NET Framework. Here is how you can use it in a sample Winforms C# application (note: you need to reference the System.Design assembly):

Namespace: System.ComponentModel.Design
Assembly: System.Design (in System.Design.dll)

public Form1()
{
InitializeComponent();

ByteViewer bv = new ByteViewer();
bv.SetFile(@”c:\windows\notepad.exe”); // or SetBytes
Controls.Add(bv);
}


http://stackoverflow.com/a/23344431

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.