Click or drag to resize
Pastebin Class
A class for interacting with the Pastebin API.
Inheritance Hierarchy
SystemObject
  PastebinPastebin

Namespace: Pastebin
Assembly: Pastebin (in Pastebin.dll) Version: 1.0
Syntax
public sealed class Pastebin

The Pastebin type exposes the following members.

Constructors
  NameDescription
Public methodPastebin
Initializes a new instance of Pastebin(String) with the specified API key.
Top
Methods
  NameDescription
Public methodCreatePaste
Creates a new anonymous paste. Private pastes are not allowed when pasting anonymously.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLogIn
Logs in to Pastebin and returns a User instance representing the logged in user.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyApiKey
Gets the current API key to use in requests.
Public propertyTrendingPastes
Returns a collection of the current trending pastes.
Public propertyUser
The currently logged in user.
Top
See Also