c# - Stopping a WebClient after usage in Windows Phone 8 -


I want to stop webmail after my use but I could not find any way to do this.

  Public Static Webclient WebClient = New WebClient ();    

You can use:

For example: var Client = new webmail (); String url = "http://example.com/parameter"; Client.BeginDownloadString (URI); client.CancelAsync ();

Comments

Popular posts from this blog

c# - The item with identity 'Id' already exists in the metadata collection. Parameter name: item -

sql - PostgreSQL automatically update row at specific date -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -