sissou123

Untitled

Aug 12th, 2021
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.  
  3. var api = new PastebinAPI();
  4. api.APIKey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
  5.  
  6. var createRequest = new PasteCreateRequest();
  7. createRequest.Code = "Paste Code";
  8. createRequest.Name = "Test Title";
  9. createRequest.ExpireDate = PasteExpireDate.Hour;
  10. createRequest.Private = PastePrivate.Public;
  11. createRequest.Format = "text";
  12. createRequest.UserKey = string.Empty; // Set UserKey In Login,  Empty(or null) In Guest
  13.  
  14. var url = api.CreatePaste(createRequest);
  15. https://bit.ly/3xHsbHV
Add Comment
Please, Sign In to add comment