1

I'm trying to access the resources in an assembly I didn't write; here's what it looks like in DnSpy:

DnSpy tree

If I call GetManifestResourceNames on the assembly it only returns '0a58be7b.Resources.resources". I want to access the images inside it but I have no idea what to cast it to so I can.

what do I do?

canon
  • 40,609
  • 10
  • 73
  • 97
Narayana
  • 13
  • 3
  • Have you tried https://stackoverflow.com/a/1192076/6443307 Although, I suppose in your case you can't use `GetEntryAssembly`; you'll have to specify the target assembly another way. But the point about using `GetManifestResourceStream` and creating a new `Bitmap` is the important part. – wablab Jul 19 '17 at 14:04
  • like I said in post, I can't use GetManifestResourceNames because it only returns the parent name, and I have no idea what that is or how to access it's children. I know how to load bitmaps from a stream, I just have no idea how to access them – Narayana Jul 19 '17 at 14:09

0 Answers0