How to use NGEN to compile DLL into native code?

I have no idea where to even start here.  

I'm using a remote host where I only have FTP access.  My server supports ASP and ASP.NET.
LVL 6
dgelinasAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
AerosSagaCommented:
// Run the ngen process with the
// arguments passed to the class
ProcessStartInfo si = new ProcessStartInfo(
strPath.ToString() +
“ngen.exe “, “\”” + strArgs + “\””);
si.WindowStyle = ProcessWindowStyle.Hidden;
try
{
Process p = Process.Start(si);
p.WaitForExit();
}
0
All Courses

From novice to tech pro — start learning today.