c# - Download images using web browser control -


in web browser app windows phone 7, able see images, want download images web pages(using context menu) , save media library. web browser control named browsers. can me? in advance help? there errors in below codes- in "uri" , in "e".

private void menuitem_click(object sender, routedeventargs e)     {         httpwebrequest webrequest = httpwebrequest.createhttp(uri);>>>error in "uri"         webrequest.begingetresponse((asynccallback) =>         {             try             {                 medialibrary library = new medialibrary();                 library.savepicture(imagename, webrequest.endgetresponse(asynccallback).getresponsestream());             }             catch (exception e)>>>>>error in "e"             {}         }, webrequest);      }  public string imagename { get; set; } 

tab , hold on image in browser control ... geta context menu saving image ?


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -