Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /// <summary>
- /// Check whether a pastebin handle exists
- /// Created by gigajew@hf
- /// </summary>
- static bool CheckPastebin(string pastebin_handle)
- {
- return SSLGetStatusCode(
- "pastebin.com",
- string.Format("HEAD /u/{0} HTTP/1.0\r\nHost: pastebin.com\r\n\r\n", pastebin_handle)
- ) == "200";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement