title: Converting url to hash code for Image using C#
body: <p>For my Project I need to convert the Image from Url to hash code. Like "CE3222F5.jpg". But I am not getting where should I implement Gethashcode method in my code. My code to get the image from url is as</p>
  
  <pre><code>Poi.Images = new List&lt;string&gt; { new WikiImage().GetImage(PoiName).Image };
  </code></pre>
  
  <p>with this code I got my images like this-</p>
  
  <pre><code>"Images": [
  "https://upload.wikimedia.org/wikipedia/commons/thumb/6/6b/Nordertor_im_Schnee_%28Flensburg%2C_Januar_2014%29.JPG/266px-Nordertor_im_Schnee_%28Flensburg%2C_Januar_2014%29.JPG"
  </code></pre>
  
  <p>]</p>
  
  <p>but I want to get it in this way-</p>
  
  <pre><code>"Images": [
  "CE3222F5.jpg"
  </code></pre>
  
  <p>]</p>
  
  <p>I know for this Hash code I need to use</p>
  
  <pre><code> var hash = uri.GetHashCode();
                  var path = Path.Combine(Jpeg, hash.ToString("X") + ".jpg");
  </code></pre>
  
  <p>But I am not getting how can Iimplement it in my code.</p>