title: Issue when attempting to open the contents of a memory adress in the web browser
body: <p>I am currently trying to read from a memory address, then open its contents in a web browser (its contents is always a url.)
  I am currently attempting to do it like this: </p>
  
  <pre><code>public static void Main(string[] args)
  {
      Process[] pname = Process.GetProcessesByName("t6mp");
      if (pname.Length == 0)
      {
          Console.WriteLine("Game not found. Please run your game then restart this program.");
          Console.ReadLine();
      }
      else
      {
          void ReadProcessMemory(object t6mp, int v1, byte[] url, int v2, ref int read)
          {
          }
          Console.WriteLine("Game found. Please go to the page where you can start a demo, then press enter to continue.");
          Console.ReadLine();
          Console.WriteLine("Please press enter to export");
          Console.ReadLine();
  
          var buffer = new byte[1];
          var sb     = new StringBuilder();
          var handle = Process.GetProcessesByName("t6mp")[0];
          int _bytesused = 200;
  
          for (var i = 0; i &lt; _bytesused; i++)
          {
              ReadProcessMemory(handle, 0x2BDA932 + i, buffer, buffer.Length, ref _bytesused);
              if (buffer[0] != 0)
              {
                  sb.Append(Encoding.ASCII.GetString(buffer));
                  Process.Start(sb.ToString());
              }
              else
              {
                  Console.WriteLine("Error has occured, please try again. Press enter to close program");
                  Console.ReadLine();
                  break;
              }
          }
      }
  }
  </code></pre>
  
  <p>It is correctly recognizing when the process is open, and I am sure that the address exists  (I have tried both 0x2BDA932 and 0x02BDA932) However, It always displays the error message, for some reason <code>if (buffer[0] != 0)</code> is always false. When I remove the if / else and just have it go straight to <code>sb.Append(Encoding.ASCII.GetString(buffer));
  Process.Start(sb.ToString());</code> </p>
  
  <p>It just crashes. Ideally, it would open the contents of the address in my browser, as it is a url. Any ideas?</p>