title: How to read .png file and show as text in a TextBox?
body: <p>I need to open a .png file as a string and put it in the textbox.I trying to do that by this code: </p>
  
  <pre><code> private void button1_Click(object sender, EventArgs e)
      {
          OpenFileDialog dialog = new OpenFileDialog();
          dialog.ShowDialog();
          text1.Text = dialog.FileName;
          string text = System.IO.File.ReadAllText(dialog.FileName);
          text2.Text = text;
      }
  </code></pre>
  
  <p>I need to get in my multiline textbox something like this:</p>
  
  <blockquote>
    <p>‰PNG 
        IHDR  O   Ů   /ç%O   sRGB ®Îé   gAMA  ±Źüa    pHYs  Ă  ĂÇo¨d 
    (IDATx^íť˝ŽŢF˛†'T°łUčĐá   *ô,°'Zl˛€®b7t8—0ˇB‡ľ'(;7Tb@p$<code>ř«Ş9ŐĹźŻŮě˙®ŻŰ{H6«ş^5ÉŤžţ0ăÉÁŰĆ#,WXš*CĆxŰ0˛aEVv¶yŰ¨•ť&amp;ˇÉŘ
    oFU¬5Ńć$cĽm”ÂrĄIX:čëŢ6ęałĄ)26ŔŰFKŘĽbiÚŚ
    đ¶a´yŰ…éJśť}ěí“/F×XŮŇ®čëŢŕŇÎFŘ”Ň}šäL/¶ľ=ń÷Ď</code>Ć¦,ÎŇ$çuq¶Młan¦Ý4)3«MĂ0®ŇŠ”™ÍŘ†‘ś:¦jŮŰM]Śa$${eŁŻx»y;5~yĆ›˛@§i±5ÂŰŇőĹĎ‰MY
    ·Ň„ľ^ŕmĂ¨U` ŇDĆxŰ0Ś®8´.;ŰĽml°Âčž3š?€6gĆ’p‚+’EîłŃ 6[«ŕ</p>
  </blockquote>
  
  <p>but I get only one word:</p>
  
  <blockquote>
    <p>�PNG </p>
  </blockquote>
  
  <p>Please, help me!</p>