If you mean as a quick check, then Lutz to the rescue (again) via
Reflector, which shows resources for assemblies (or Resourcer for
working on resx pre-build):
http://www.aisto.com/roeder/dotnet/
If you mean routinely through code - then you can find the resources
with things like:
http://groups.google.com/group/micro...bededfba28f246
But if the resource is a resx, you need to parse the resx stream -
something like below (crude and incomplete).
Marc
Assembly assembly = typeof(Program).Assembly;
foreach (string name in
assembly.GetManifestResourceNames())
{
try
{
using (ResourceReader reader = new
ResourceReader(assembly.GetManifestResourceStream( name)))
{
foreach (DictionaryEntry pair in reader)
{
Console.WriteLine("{0}: {1}", pair.Key,
pair.Value);
}
}
}
catch
{ // not a resx...?
}
}