cheesyy

HTTP

Dec 24th, 2020
432
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Collections.Specialized;
  7. using System.Net;
  8.  
  9. namespace Cracked.to
  10. {
  11. class HTTPS
  12. {
  13. public static byte[] Post(string uri, NameValueCollection pairs)
  14. {
  15. byte[] numArray;
  16. using (WebClient webClient = new WebClient())
  17. {
  18. numArray = webClient.UploadValues(uri, pairs);
  19. }
  20. return numArray;
  21. }
  22. }
  23. }
  24.  
Advertisement
Add Comment
Please, Sign In to add comment