Earlier today I posted the official unmanaged way to get the .NET Framework directory. Of course I was using P/Invoke to do it ;-) Mike Woodring commented with an easier, managed way:
HttpRuntime.ClrInstallDirectory
But then Stephen Toub (my editor at MSDN Mag) commented with an even better option:
System.Runtime.InteropServices.RuntimeEnvironment.GetRuntimeDirectory()
Thanks guys!
Posted
Oct 18 2005, 05:41 PM
by
keith-brown