title: Making a JSON-RPC HTTP call using C#
body: <p>I would like to know how to make the following HTTP call using C#.</p>
  
  <pre><code>http://user:pass@localhost:8080/jsonrpc?request={"jsonrpc":"2.0","method":"VideoLibrary.Scan"}
  </code></pre>
  
  <p>When I paste this url directly into my browser (and replace the user credentials &amp; server location), it works as expected (my XBMC video library is updated). It relates specifically to the HTTP methods on this page:</p>
  
  <p><a href="http://wiki.xbmc.org/index.php?title=HOW-TO:Remotely_update_library" rel="noreferrer">http://wiki.xbmc.org/index.php?title=HOW-TO:Remotely_update_library</a></p>
  
  <p>I'd like to know how to make this same successful call over HTTP using C# though.</p>