Skip to content

Instantly share code, notes, and snippets.

View dineplan's full-sized avatar

DinePlan dineplan

View GitHub Profile
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);