How to get folder names from C # embedded resource

I want to order resources the way the file system will order them. I can not do string.split for the name because the folders are separated by the '.' characters, not '\' characters. This means that if there are any periods in the names of folders or files, sorting breaks.

Is there a way to change the delimiter character or get a different source address for an embedded resource?

+1
source share
1 answer

This will give you an array of strings from all resources.

System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceNames(); 
0
source

All Articles