How to check if youtube url in C#
<p>I want to check if an given URL a is link to <code>http://youtube.com</code>. </p>

<p>I know there are lots of various shortened version's of the links (e.g. <code>http://youtu.be</code>), so what I am after is a way to resolve the URL and see if it ends up as <code>http://youtube.com</code>.</p>

<p>A couple of example inputs are: </p>

<pre><code>http://www.youtube.com/v/[videoid]
http://www.youtu.be/watch?v=[videoid]
</code></pre>

<p>Does anyone know of a way to do this?</p>
