Ejemplo n.º 1
0
 private void ShowInformation()
 {
     this.lblDescription.Text       = NetworkInterfaceInformation.Description;
     this.lblID.Text                = NetworkInterfaceInformation.Id;
     this.lblName.Text              = NetworkInterfaceInformation.Name;
     this.lblType.Text              = NetworkInterfaceInformation.NetworkInterfaceType.ToString();
     this.lblOperationalStatus.Text = NetworkInterfaceInformation.OperationalStatus.ToString();
     this.lblSpeed.Text             = UnitConverter.BitsPerSecondToMegaBitsPerSecond(NetworkInterfaceInformation.Speed).ToString() + " Mbps";
     this.lblSupportsMulticast.Text = NetworkInterfaceInformation.SupportsMulticast ? "Yes" : "No";
 }