Can I cancel the HttpClient GET web request in Windows 8. I'm looking for a solution to cancel my web request if the user presses a key from the page. In my application, I am using a static class to create a web request.
Alos, I use MVVM Light and static viewmodels inside the application.
In the current situation, even if the user presses the "Back" button, vm will remain alive, and the callback will reach and be executed in vm .
So, I'm looking for a solution to cancel the request in the back press.
Nitha paul
source share