Get .net framwork path

string aaa = System.Runtime.InteropServices.RuntimeEnvironment.GetRuntimeDirectory().ToString();

原文地址:https://www.cnblogs.com/greencolor/p/1789636.html