tolik518 🦀
✅ Reflection independent from .Net version and bitness?
I'm working on a tool (https://github.com/tolik518/JackTheEnumRipper) that dumps all the enums from a (.Net) binary and I figured out, pretty early in the developement, that the reflection on the assembly only works if the bitness and somewhat the .Net (framework) version corresponds to the binary.
is there a way for me to detect the bitness and the needed framework early?
Are there better ways then the way I'm currently doing it?
In the first release I shipped 4 binaries, 2 of them are x64 and the other 2 are x86 - while one of them is always in* .Net 8.0 *and the other one is compiled with .Net Framework 4.8. But currently its a trial and error to find out which version one needs to run.
23 replies