Ankit Sahu

Ankit Sahu

  • 580
  • 2k
  • 893.8k

How to convert google(Public) image to byte array asp.net c#

Aug 24 2018 7:37 AM
I have public Image like 
 
https://csharpcorner-mindcrackerinc.netdna-ssl.com/App_Themes/CSharp/Images/SiteLogo.png 
 
 
I want to convert Public Image to Byte formates using C# ? 
 
Already I try below code 
 
byte[] imgdata = System.IO.File.ReadAllBytes(imagePath); 

Answers (5)