OAuthAccessToken Method (String, String, StringDictionary)
Fetches Request Access from the specified URI passing extra parameters in that URI.

Namespace: MailBee
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public void AccessToken(
	string uri,
	string key,
	StringDictionary parameters
)

Parameters

uri
Type: SystemString
An URI for sending HTTP request.
key
Type: SystemString
A string with the verification code from the end user's browser authentication process.
parameters
Type: System.Collections.SpecializedStringDictionary
A StringDictionary object with the parameters list.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionuri or key is a null reference (Nothing in Visual Basic) or an empty string.
MailBeeDataParsingExceptionA URI has incorrect format.
MailBeeStreamExceptionA stream error occurred.
MailBeeWebExceptionHTTP connection error occurred.
MailBeeInvalidStateExceptionAuthorizeToken(String) should be called first.
Examples
See OAuth topic for the example.
See Also