Click here to Skip to main content
15,896,153 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello

I have many images in my DLL .

I need to get name of this files in my DLL from another DLL .

How do I this ?

Thanks for your help .
Posted
Updated 24-Aug-12 22:31pm
v3
Comments
OriginalGriff 25-Aug-12 4:28am    
Sorry? What are you trying to achieve? The assembly is contained in a single file - the DLL.
So what file names are you trying to get?

1 solution

Use the following :
C#
Assembly asm; // assign your assembly here  
string[] all = asm.GetManifestResourceNames();

foreach (string one in all) {
    MessageBox.Show(one);
}
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900