dotNet Reactor and reflection

401 views
Skip to first unread message

thuannguy

unread,
May 27, 2011, 7:21:07 AM5/27/11
to .Net Reactor Support
Hi guys,
I'm having a problem with using reflection in a .Net Reactor-protected
assembly:
My code is as simple as:
Assembly.Load(assemblyName).GetType(className);

If I use .NET Reactor to protected my assembly, GetType always returns
null.
I have tried to disable Necrobit, string encryption, ILDASM (which
means I only keep the obfuscation option), tried to use -necrobit_comp
but gotten no luck so far.

I'm using version 4.4.

Could anyone please tell me how to solve this issue?

Thank you in advance,
Thuan.

Barbuxx

unread,
May 29, 2011, 8:07:58 PM5/29/11
to .Net Reactor Support
If you are calling GetType(string typeName) then you have to ensure
that the type you are getting hasn't been obfuscated. You can do this
by making it public, or by applying the Obfuscate attribute to the
type to make sure that the type name does not get changed.
Reply all
Reply to author
Forward
0 new messages