摘要:
/// /// 获取已安装的所有NET版本 /// /// public static List GetDotNetVersions() { var filepath =Environment.SystemDirectory + @"\..\Microsoft.NET\Framework"; DirectoryInfo[] directories = new DirectoryInfo(filepath).GetDirectories("v?.?.*"); ... 阅读全文