U Udi Mar 17, 2008 #1 Hi all, How can I extract the value of a static strnig field that resides inside a dll? Thanks!
G GArlington Mar 17, 2008 #2 Hi all, How can I extract the value of a static strnig field that resides inside a dll? Thanks! Click to expand... If the field is declared private (and have no accessors) you can not.
Hi all, How can I extract the value of a static strnig field that resides inside a dll? Thanks! Click to expand... If the field is declared private (and have no accessors) you can not.
J Jon Skeet [C# MVP] Mar 17, 2008 #3 If the field is declared private (and have no accessors) you can not. Click to expand... Yes you can, if you have enough permission to use reflection with non- public fields. Just use Type.GetFields including BindingFlags.NonPublic.
If the field is declared private (and have no accessors) you can not. Click to expand... Yes you can, if you have enough permission to use reflection with non- public fields. Just use Type.GetFields including BindingFlags.NonPublic.