コード例 #1
0
        private void CopyToStreamButton_Click(object sender, RoutedEventArgs e)
        {
            MemoryStream ms = new MemoryStream();

            HexEdit.CopyToStream(ms, true);

            //ms.Position = 0;
            //File.WriteAllBytes(@"c:\test\test.exe", ms.ToArray());

            MessageBox.Show(ByteConverters.BytesToString(ms.ToArray()));
        }