DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Thu, 16 Aug 2007 17:52:42 -0700,    posted on: microsoft.public.dotnet.security        back       

Thread Index
  1    Amb k


Changing Visibility of Class/Class members in different assemblies   
I have created an assembly, which contains two class (Cls1,cls2), in which 
Cls1 contains 3 properties Prop1, Prop2,Prop3 and Cls2 contains some other 
properties.
Now i am using this assembly (Add reference) in some other assemblies Assb1 
and Assb2. 

In Assb1 i do not want Cls2 to be visible, but Cls1 should be visible.Here i 
should be able to get the property values, setting property values should not 
be allowed.

In Assb2 i want both to be visible, also from Assb2 i can set/get the 
properties of Cls1.

how can i achieve this functionality, is there any way with CAS? Please let 
me know. Thanks
Date:Thu, 16 Aug 2007 17:52:42 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us