title: How to convert the function key F3 to a byte array?
body: <p>How to convert the function key F3 to a byte array in C#? We tried the below code, but it has't worked.</p>
  
  <pre><code>Secondcommand = "\x1bOR"; //F3
  byte[] Bcommand_sec3 = System.Text.Encoding.ASCII.GetBytes(Secondcommand);
  Obj_StreamOutput.Write(Bcommand_sec3, 0,Bcommand_sec3.Length);
  </code></pre>