title: How can I check if two different URL's point to the same resource?
body: <p>Lets say I have a web site hosted on a computer named "linux" and it is part of two different networks with the addresses 192.168.1.1 and 10.1.1.1. When working locally on "linux", I can access this web site through the following URLs :</p>
  
  <p><a href="http://192.168.1.1/" rel="nofollow noreferrer">http://192.168.1.1/</a>
   <a href="http://10.1.1.1/" rel="nofollow noreferrer">http://10.1.1.1/</a>
   <a href="http://linux/">http://linux/</a>
   <a href="http://localhost/" rel="nofollow noreferrer">http://localhost/</a>
   <a href="http://127.0.0.1/" rel="nofollow noreferrer">http://127.0.0.1/</a></p>
  
  <p>Working on another machine on the network "10.1.1.0/24" I can use the following : </p>
  
  <p><a href="http://10.1.1.1/" rel="nofollow noreferrer">http://10.1.1.1/</a>
   <a href="http://linux/">http://linux/</a></p>
  
  <p>But on "192.168.1.0/24" I can only use :</p>
  
  <p><a href="http://192.168.1.1/" rel="nofollow noreferrer">http://192.168.1.1/</a>
   <a href="http://linux/">http://linux/</a></p>
  
  <p>I'm developing an application that compares URLs, and on this application's context two URLs are equal if they point to the same resource.</p>
  
  <p>Is there a quick way of doing that kind of comparison using the URI class in C# ?</p>