Example #1
0
 public void Search5(string text)
 {
     Bing.BingService   bingClient = new Bing.BingService();
     Bing.SearchRequest request    = new Bing.SearchRequest();
     request.AppId   = BING_API_ID;
     request.Sources = new LMT92.Bing.SourceType[] { Bing.SourceType.Web };
     request.Query   = text;
     bingClient.BeginSearch(request, new AsyncCallback(BingAsyncCallback), bingClient);
 }
 public void Search5 (string text)
 {
     Bing.BingService bingClient = new Bing.BingService ();
     Bing.SearchRequest request = new Bing.SearchRequest ();
     request.AppId = BING_API_ID;
     request.Sources = new LMT92.Bing.SourceType[] { Bing.SourceType.Web };
     request.Query = text;
     bingClient.BeginSearch (request, new AsyncCallback (BingAsyncCallback), bingClient);
 }