{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
label1.Text = "";
}
private void button1_Click(object sender, EventArgs e)
{
RegistryKey mreg;
mreg = Registry.LocalMachine;
mreg = mreg.CreateSubKey("software\\Microsoft\\Internet Explorer");
string IEVersion="当前IE浏览器的版本信息:" (String)mreg.GetValue("Version");
mreg.Close();
label1.Text = IEVersion;
}
}
}