B
bob
Hi,
I've got some forms with loads of controls for entering numbers. Each
text box should behave in a similare way but i hated writing all the
text processing code for every text box. So I made a function that
took the object whose property was being set, the name of the property
and the textbox that has the text to read
public static void SetIntProperty(object owner, string propertyName,
TextBox textBox)
this saves me lots of repeated code, but after obfuscation it clearly
won't work. Presumable neither will my serialized data files load.
Reflection and serialization seem not so useful if you have to
obfuscate.
Are there any alternatives to obfuscation? Compile to machine code
perhaps?
Any help greatly appriciated,
Bob
I've got some forms with loads of controls for entering numbers. Each
text box should behave in a similare way but i hated writing all the
text processing code for every text box. So I made a function that
took the object whose property was being set, the name of the property
and the textbox that has the text to read
public static void SetIntProperty(object owner, string propertyName,
TextBox textBox)
this saves me lots of repeated code, but after obfuscation it clearly
won't work. Presumable neither will my serialized data files load.
Reflection and serialization seem not so useful if you have to
obfuscate.
Are there any alternatives to obfuscation? Compile to machine code
perhaps?
Any help greatly appriciated,
Bob