private void buttonVer_Click(object sender, EventArgs e) { labelVer.Text = SysInfo.GetWindowsVersion(); }
private void buttonPing_Click(object sender, EventArgs e) { SysInfo.PingUrl("google.com", reply => BeginInvoke((MethodInvoker) delegate { labelPing.Text = reply; })); }
private void buttonSkype_Click(object sender, EventArgs e) { labelSkype.Text = SysInfo.GetFirewallRule("Skype"); }
private void buttonGetIpAddress_Click(object sender, EventArgs e) { labelIpAddress.Text = SysInfo.GetIpAddress(); }