How restrict some assembly

  • Thread starter Thread starter Dani
  • Start date Start date
D

Dani

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
 
Back
Top