I have an image (in .png format), and I want this picture to convert to binary.
How can this be done using C#?
Since you have a file use:-
Response.ContentType = "image/png"; Response.WriteFile(physicalPathOfPngFile);