Esempio n. 1
0
 void dhcpEnabled_CheckStateChanged(object sender, EventArgs e)
 {
     try
     {
         Cursor.Current = Cursors.WaitCursor;
         m_nic.GetIPProperties().GetIPv4Properties().IsDhcpEnabled = dhcpEnabled.Checked;
         m_nic.Rebind();
     }
     finally
     {
         Cursor.Current = Cursors.Default;
     }
     RefreshProps();
 }