R
Richard Gjerde
We have a component in .net which contains encryption and decryption
algorithms. (We cannot use standard ones because these are going to be the
same as already existing algorithms in another application.) Of course,
these algorithms are pretty worthless if it is possible to simply decompile
the msil-code and see them directly. Therefore, we are thinking about using
some tool (ngen?) to generate native code from this component. In that
connection I have a couple of questions which I hope are not too ignorant (I
am not an expert on the framework!):
1. I guess one still needs the msil-code when deploying to generate native
code. Is it possible to just remove this after native compilation?
2. Must native compilation be done for a whole assembly, or is it possible
to make native code from just certain modules or even methods? (Maybe this
can specified by attributes?)
3. Does native compilation present any specific problems when deploying?
algorithms. (We cannot use standard ones because these are going to be the
same as already existing algorithms in another application.) Of course,
these algorithms are pretty worthless if it is possible to simply decompile
the msil-code and see them directly. Therefore, we are thinking about using
some tool (ngen?) to generate native code from this component. In that
connection I have a couple of questions which I hope are not too ignorant (I
am not an expert on the framework!):
1. I guess one still needs the msil-code when deploying to generate native
code. Is it possible to just remove this after native compilation?
2. Must native compilation be done for a whole assembly, or is it possible
to make native code from just certain modules or even methods? (Maybe this
can specified by attributes?)
3. Does native compilation present any specific problems when deploying?