I am trying to work with WebClient but it is giving me errors so I check in several forums (included this one) and they where telling to put
In the top of the file:
Given your tags, it sounds like you may be building a Windows Store app - in which case you need to use HttpClient instead of WebClient.
WebClient