uploading photo using windows form in c# and make processing on it then show the result photo -


i don't know how upload image , make processing on show result image. if 1 can me?

here have done:

  private void button1_click(object sender, eventargs e)         {             openfiledialog ofd = new openfiledialog();             ofd.title = "open image";             ofd.filter = "text files (.txt)|*.txt|all files (*.*)|*.*";             if (ofd.showdialog() == system.windows.forms.dialogresult.ok)             {                  messagebox.show("test");             }          } 

this example code upload image file ftp server. can use function.

public void upload_image_file()  {    using (webclient client = new webclient())     { client.credentials = new networkcredential("username", "p/w");       client.uploadfile("ftp_path/your file name.extention", "stor", "where local file stored/your file name.extention");    }  } 

Comments