How to download an image from a local PC shared folder?
I am writing this code to display an image from another PC on a local network:
string path = Path.Combine(@"\\BEHZAD-PC\foodimage", label1.Text+".jpg");
if(File.Exists(path))
{
pictureBox1.ImageLocation = path;
}
but the image is not showing in my application, where is the problem? Please help me.
+3
source to share