Exemplo n.º 1
0
 private void btn_get_token_Click(object sender, EventArgs e)
 {
     //session_id = API_functions.Login(t_username.Text, t_password.Text);
     session_id = API_functions.Login("*****@*****.**", "15RSuheggf");
     if (session_id != "")
     {
         MessageBox.Show("You have been successfully logged!");
     }
     else
     {
         MessageBox.Show("You have some errors! Please try again.");
     }
 }
Exemplo n.º 2
0
 private void btn_upload_Click(object sender, EventArgs e)
 {
     API_functions.Upload("", 0, session_id);
 }