OAuth Constructor
Initializes a new instance of OAuth object with a consumer key pair.

Namespace: MailBee
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public OAuth(
	string consumerKey,
	string consumerSecret
)

Parameters

consumerKey
Type: SystemString
A string value with a consumer public key.
consumerSecret
Type: SystemString
A string value with a consumer secret key.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionconsumerKey or consumerSecret is a null reference (Nothing in Visual Basic) or an empty string.
Remarks
For GMail 3-legged IMAP/SMTP OAuth you can use "anonymous", "anonymous" key pair or get a registered site for an e-mail account and specify the keys from Google "Registration for Web Applications" page. For GMail 2-legged OAuth you should register and get key pair from Google.
See Also