很简单 只要这样 typeof(类名).GetProperty(属性名).GetValue(null,null) 即可
下面是一段样例
using System;
using System.Windows.Forms;
using System.Reflection;
namespace 获取用户名
{
class Program
{
static void Main(string[] args)
{
Type type = typeof(SystemInformation);
PropertyInfo[] props = type.GetProperties();
foreach (PropertyInfo prop in props)
{
Console.WriteLine(prop.GetValue(null, null));
}
Console.ReadKey();
}
}
}