Ejemplo n.º 1
0
 public override void Request()
 {
     //If the client token exists, use it, otherwise wait for client token before making request
     if (ApplicationSettings.Instance.get("ClientToken") == null)
     {
         ClientTokenRequest request = new ClientTokenRequest();
         request.RequestSucceeded += new EventHandler(onClientTokenRequestSucceeded);
         request.Request();
     }
     else
     {
         onClientTokenReady();
     }
 }
		public override void Request()
		{
			//If the client token exists, use it, otherwise wait for client token before making request
			if (ApplicationSettings.Instance.GetClientToken() == null)
			{
				ClientTokenRequest request = new ClientTokenRequest();
				request.RequestSucceeded += new EventHandler(onClientTokenRequestSucceeded);
				request.Request();
			}
			else
			{
				onClientTokenReady();
			}
		}