How to get a particular image (as a Stream) from C# desktop application's \Resources folder?
In Visual Studio, I imported the image into the \Resources folder and it has a File Name
and a Full Path
property. I would like to use its name.
My goal is to do this:
System.IO.Stream contentStream = get the image stream from \Resources
System.Net.Mail.LinkedResource logo = new LinkedResource( contentStream);