Advertisement
Guest User

Untitled

a guest
Aug 28th, 2017
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. imagePath = imageName;
  2. X = x;
  3. Y = y;
  4. Width = width;
  5. Height = height;
  6. TempImage = tempImage;
  7. string altusername = "***";
  8. string altpassword = "***";
  9. string auth = altusername + ":" + altpassword;
  10. auth = Convert.ToBase64String(Encoding.Default.GetBytes(auth));
  11. string header = "Authorization: Basic " + auth;
  12. webBrowser1.Navigate(url, null, null, header);
  13.  
  14. timer1.Interval = (1000) * (60);
  15. timer1.Enabled = true;
  16. timer1.Start();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement