Re: [ADVANCED-DOTNET] TP/RP stub...

2003-08-17 Thread Griffiths, Ian
Ramkishore wrote: > In Java, proxies may be created only for only those classes > that implement atleast one interface to make them transparent > by typecasting to the interface. The use of interfaces means that code that uses the proxy doesn't care what the underlying type is. This makes it easy

Re: [ADVANCED-DOTNET] Setting access permissions for assemblies compiled at runtime

2003-08-17 Thread Griffiths, Ian
It is possible to do this using code access security. How are you doing the compilation? If you are using the Code DOM, you can control this kind of thing with the CompilerParameters you pass to ICodeCompiler.CompleAssemblyFrom[Dom/Source/File]. The Evidence property is the way to do this. The