title: Change image source in code behind - Wpf
body: <p>I need to set image source dynamically, please note my image is in somewhere on the Network, here is my code</p>
  
  <pre><code>BitmapImage logo = new BitmapImage();
  logo.BeginInit();
  logo.UriSource = new Uri(@"pack://application:,,,\\myserver\\folder1\\Customer Data\\sample.png");
  logo.EndInit(); // Getting the exception here
  ImageViewer1.Source = logo;
  </code></pre>
  
  <p>Exception: </p>
  
  <blockquote>
    <p>The URI prefix is not recognized</p>
  </blockquote>