To download the image using the URL of the image
I want to get image in the form of byte array by passing the url of the
image using jQuery,so that i can use the byte array to upload the image to
sharepoint document library.
I found the following code from here
var webClient = new WebClient();
byte[] imageBytes =
webClient.DownloadData(http://oregonstate.edu/career/sites/default/files/phone.jpg);
Using this i am not able to save the image or get it in the form of byte
array
No comments:
Post a Comment