This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void GetName(){ | |
try | |
{ | |
var myQb = MyQb(); | |
if (myQb != null) | |
{ | |
TimeSpan retryInterval = new TimeSpan(0, 0, 0, 1);// To give a time interval of 1 second | |
QbTokenDto token = JsonConvert.DeserializeObject<QbTokenDto>(myQb.Settings); | |
OAuthRequestValidator oauthValidator = new OAuthRequestValidator(token.Token, token.TokenSecret, ConsumerKey, ConsumerSecret); |