HttpWebRequest synchronous on Windows Phone 8

前端 未结 2 406
忘了有多久
忘了有多久 2021-01-21 11:39

In order to design / reuse a library usable both for WPF apps, Windows Phone 8 apps and later Windows 8 / RT apps, we need to make some HttpWebRequest call, preferably synchrono

2条回答
  •  花落未央
    2021-01-21 12:15

    Maybe you cloud use the Result property of Task. It works on .NET 4.0/4.5 and Windows Phone 8.

提交回复
热议问题