title: how to convert System::String to const char*?
body: <p>how to convert 'String^' to 'const char*'?</p>
  
  <pre><code>     String^ cr = ("netsh wlan set hostednetwork mode=allow ssid=" + this-&gt;txtSSID-&gt;Text + " key=" + this-&gt;txtPASS-&gt;Text);
  system(cr);
  </code></pre>
  
  <p>Error :</p>
  
  <pre><code>1   IntelliSense: argument of type "System::String ^" is incompatible with parameter of type "const char *"
  </code></pre>