Thank you all for trying to help ------
I solved the problem and Here is my final code
try
{
LoginPage login=new LoginPage();
BitmapImage DriverPhoto=new BitmapImage();
DriverPhoto.BeginInit();
DriverPhoto.UriSource =new Uri(@"\\"+login.ServerName+"\\Photos\\MyPhoto.jpg");
DriverPhoto.EndInit();
DriverImageControl.Source=DriverPhoto;
}
catch(System.Exception ex)
{
System.Windows.MessageBox.Show(ex.Message);
}