MailBee.NET Objects 7.2

OAuth.RequestToken Method (String, StringDictionary)

Fetches Request Token from the specified URI passing extra parameters in that URI.

public void RequestToken(
   string uri,
   StringDictionary parameters
);

Parameters

uri
An URI for sending HTTP request.
parameters
A StringDictionary object with the parameters list.

Exceptions

Exception Type Condition
MailBeeInvalidArgumentException uri is a null reference (Nothing in Visual Basic) or an empty string.
MailBeeDataParsingException An URI has incorrect format.
MailBeeStreamException A stream error occurred.
MailBeeWebException HTTP connection error occurred.

Example

See OAuth topic for the example.

See Also

OAuth Class | MailBee Namespace | OAuth.RequestToken Overload List