Type type = typeof(System.Windows.Forms.MessageBox) ;
System.Reflection.Assembly assembly = type.Assembly;
var framework = assembly?.GetCustomAttribute<TargetFrameworkAttribute>()?.FrameworkName;
MessageBox.Show($"{assembly.GetName().ProcessorArchitecture.ToString()}-{framework}");
09-16
4万+
