How restrict some assembly

From: Dani (danielgarciagomez_at_hotmail.com)
Date: 03/05/05


Date: Sat, 5 Mar 2005 14:02:31 +0100

Hi,

I am using codeDom class to compile on fly some c# code. I want to restrinc
to use some assembly, i don't know if assembly is the best word, i want to
forbid to use class like System.IO.File or System.IO.Directory, how can i do
it??

I thought i can do it parsing the code looking for the key word, but i think
can be another profesional solution.

Sorry my english.

Thank, Dani


Loading