URI Update Request
<p>From my C# console application, I want to issue an Uri update request. Like the following:</p>

<pre><code>http://username:password@dynupdate.no-ip.com/nic/update?hostname=mytest.testdomain.com&amp;myip=1.2.3.4 
</code></pre>

<p>I have tried the following:</p>

<pre><code>string url = "http://username:password@dynupdate.no-ip.com/nic/update? hostname=mytest.testdomain.com&amp;myip=1.2.3.4";
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
request.Timeout = 5000;
</code></pre>

<p>But, I am getting, <code>Invalid URI: The format of the URI could not be determined.</code> error.</p>

<p>Any idea, where I went wrong? I type the full url as shown above into a web browser and it works as expected but through the C# application, it throws an exception.</p>

<p>Is there any other way to implement this?</p>
