> Hi all,
> How can I extract the value of a static strnig field that resides
> inside a dll?
>
> Thanks!
If the field is declared private (and have no accessors) you can not.
Jon Skeet [C# MVP] - 17 Mar 2008 16:37 GMT
<snip>
> If the field is declared private (and have no accessors) you can not.
Yes you can, if you have enough permission to use reflection with non-
public fields.
Just use Type.GetFields including BindingFlags.NonPublic.

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk