Trying to convert hex code like "4557415049534341" to text to be "EWAPISCA"
The code :
  private void button1_Click(object sender, EventArgs e)
    {
        OpenFileDialog op1 = new OpenFileDialog();
        op1.Filter = "BinFiles (.bin)|*.bin";
        if (op1.ShowDialog() == DialogResult.OK)
        {
            BinaryReader br = new BinaryReader(File.OpenRead(op1.FileName));
            string armorValues = null;
            for (int i = 0x0019fcad; i <= 0x0019fcb4; i++)
            {
                br.BaseStream.Position = i;
                armorValues += br.ReadByte().ToString("X2"); 
            }
            br.Close();
            string hex = armorValues;
            hex = hex.Replace("-", "");
            byte[] raw = new byte[hex.Length / 2];
            for (int i = 0; i < raw.Length; i++)
            {
                raw[i] = Convert.ToByte(hex.Substring(i * 2, 2), 16);
            }
            string result = raw.ToString();
            richTextBox1.Text = result;
        }
    }
In richTextBox1 showing "System.Byte[]"
 
     
     
     
    