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

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -

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

sql server ce - Is there some way to make sqlce3.5 and 4.0 co-exist in the C# project -