Thanks for the information, this looks interesting... >>It's hackable via the Reflection libraries. See [1] for an example of this. To prevent callers from being able to modify your privates, you need to add the following:
[assembly: ReflectionPermission(SecurityAction.RequestRefuse, Flags = ReflectionPermissionFlag.MemberAccess)] If someone tried to access that private member, they would get a FieldAccessException. Regards, Jason [1] http://staff.develop.com/woodring/dotnet/#DynoIndexer You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.