i put a .dll file in .net reflector
then reflector shows a folder named ‘Resources’.
I hope to reuse the pictures in that folder.
Is there a way to do that ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use Reflection to do this.
Try the
GetManifestResourceStreammethod of the Assembly class. This should return a Stream object which can represent the embedded resource.I think something like this should do the trick, but it is possible you should use another overload of GetManifestResourceStream: