How to use the WebClient.DownloadDataAsync() method in this context?

前端 未结 6 1664
北荒
北荒 2020-12-01 18:01

My plan is to have a user write down a movie title in my program and my program will pull the appropiate information asynchronously so the UI doesn\'t freeze up.

Her

6条回答
  •  天涯浪人
    2020-12-01 18:44

    ThreadPool.QueueUserWorkItem(state => WebClientX.DownloadDataAsync(sitesearchURL));
    

    http://workblog.pilin.name/2009/02/system.html

提交回复
热议问题