This snippet is assuming, that you are using it on form and you have TextBox1 control in it.

  1. public void ShowHardwareID()
  2. {
  3.     TextBox1.Text = TreeksLicensingLibrary.HardwareID.ActualHardwareID;
  4. }
  1. Public Sub ShowHardwareID
  2.     TextBox1.Text = TreeksLicensingLibrary.HardwareID.ActualHardwareID
  3. End Sub