I use this code to set a link as WPF image source:
bi3.BeginInit();
bi3.UriSource = new Uri("[here is a link]" + textBox2.Text + ".png", UriKind.RelativeOrAbsolute);
bi3.CacheOption = BitmapCacheOption.OnLoad;
bi3.EndInit();
How can I know if link to image does exist? Thank you in advance!
call it as below