URGENT - List of all embedded resources keys

C

chipxsd

Folks, please I need your help!

I use the .resx to embed the resources in to the assembly. I'm curious
how do I get the list of all resources from the assembly.
One of my .resx file looks like this (Sa.Customer.resx)

properties.Address "Your Address"
properties.City "City"
properties.Country "Country you live in"
....

I'd like to know all the possible keys from this resource in runtime
(not from the .resx file, but from the assembly).
An array would have to look like this {"properties.Address",
"properties.City", "properties.Country" ...}

I've tried using:
Assembly Asm = Assembly.GetExecutingAssembly();
String[] test = Asm.GetManifestResourceNames();

.... but it gives me a zero dimension array :(

Is there any way I could do this? ... at all?

Anyone, please?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top