public void xAuthAccessTokenGet()
{
this.xAuthUsername = Properties.Settings.Default.mail;
this.xAuthPassword = Properties.Settings.Default.pass;
string response = oAuthWebRequest(Method.GET, XAUTH_ACCESS_TOKEN, String.Empty);
if (response.Length > 0)
{
//Store the Token and Token Secret
NameValueCollection qs = HttpUtility.ParseQueryString(response);
if (qs["oauth_token"] != null)
{
this.Token = qs["oauth_token"];
}
if (qs["oauth_token_secret"] != null)
{
this.TokenSecret = qs["oauth_token_secret"];
}
}
}