Is it possible to cancel HttpClient GET web request in Windows 8.
I am looking for a solution to cancel my web request if the user press back key from the page. In my app i am using a static class
for creating web request.
Alos i am using MVVM Light
, and static viewmodels
inside the app.
In the current situation, even if the user press the back button,
the vm
stay alive and the call back reaches and executes in the VM
.
So i am looking for a solution to cancel the request on back press.