Ejemplo n.º 1
0
        internal void processFile(string filename)
        {
            string foo = "";

            byte[] bytes = File.ReadAllBytes(filename);
            string hex   = BitConverter.ToString(bytes);

            _hex = GeneralTools.ReplaceEx(hex, "-", " ");

            Task t = Task.Run(() =>
            {
                foo = Encoding.ASCII.GetString(bytes).Replace((char)0, '.');
            });

            t.Wait();
            _text = GeneralTools.ReplaceEx(foo, "?", ".");
        }