Метод | Описание | |
---|---|---|
PastebinClient ( ) : System |
Creates a new PastebinSharp instance without logging in. Private posting is not allowed.
|
|
PastebinClient ( string Username, string Password ) : System |
Creates a new PastebinSharp instance with a Username and Password, which allows private posting.
|
|
Send ( string Body, string Subj = "", string Private = "0", string Expire = "N", string Format = "none" ) : |
|
public PastebinClient ( string Username, string Password ) : System | ||
Username | string | Pastebin.com username |
Password | string | Pastebin.com password |
Результат | System |
public Send ( string Body, string Subj = "", string Private = "0", string Expire = "N", string Format = "none" ) : |
||
Body | string | The body of the new paste. (Max size is 512 KB.) |
Subj | string | The title of the paste. Not required. |
Private | string | The privacy setting of the paste. 0 = Public, 1 = Unlisted, 2 = Private. Default is Public. Private is only availabe if a username and password were added. Not required. |
Expire | string | The expiration time for this paste. Valid values are "N" (Never), "10M" (10 minutes), "1H" (1 hour), "1D" (1 day), "1W" (1 week), "2W" (2 weeks), "1M" (1 month). Default is "N". Not required. |
Format | string | The syntax highligting format for this paste. Over 200 values are accepted. See http://pastebin.com/api#5 for more details. Default is "none". Not required. |
Результат |