Is it possible to prevent someone from using Reflection to get the value of an internal class variable?
I have an internal (Friend in VB) class level variable that is only supposed to be accessible when the caller knows a password. There's a method which exposes this variable which takes a password, but it is possible to access the variable directly using Reflection. Can I prevent this from happening?
Further details, code that might be hacking this variable is loaded as a plug-in to the master application.