private void network_interface_selector_reset_btn_Click(object sender, EventArgs e)
 {
     var value = NetworkInterfaceManager.GetDeviceDefaultInterface().Name;
     network_interface_selector.SelectedItem = value;
     Console.WriteLine("New Interface selected: " + value);
     Program.settingsManager.setSetting("DefaultInterface", value);
     Program.settingsManager.saveSettings();
 }
 private void network_interface_selector_reset_btn_Click(object sender, EventArgs e)
 {
     var value = NetworkInterfaceManager.GetDeviceDefaultInterface().Name;
     network_interface_selector.SelectedItem = value;
     Console.WriteLine("New Interface selected: " + value);
     Program.settingsManager.setSetting("DefaultInterface", value);
     Program.settingsManager.saveSettings();
     show_local_ipv4.Text = NetworkInterfaceManager.GetDefaultIP();
     show_local_ipv6.Text = NetworkInterfaceManager.GetDefaultIP(System.Net.Sockets.AddressFamily.InterNetworkV6);
 }