title: Equivalence of CreateObject("Microsoft.XMLHTTP")
body: <p>I got some code from our provider which is written in VB. I need this code to be converted to C#. </p>
  
  <p>Below if the VB code i need to convert to C#.</p>
  
  <pre><code>Dim VLINK_URL As String
  VLINK_URL = "http://service.xxx.com/report?type=" &amp; REPORT_TYPE &amp; "&amp;vin=" &amp; vinNumber
  
  Dim GetConnection As Object
  GetConnection = CreateObject("Microsoft.XMLHTTP")
  GetConnection.Open("get", VLINK_URL, False, USERID, PASS)
  GetConnection.Send()
  </code></pre>
  
  <p>Where USERID and PASS are properties of the class to set the credentials.
  The exact problem is with <code>CreateObject("Microsoft.XMLHTTP")</code>.
  Can somebody help me resolve this issue.</p>
  
  <p>Thanks for taking your valuable time.</p>