Miscellany
public text v1 · immutable//load pcap devices into combobox
//foreach(PcapDevice p in SharpPcap.GetAllDevices()
PcapDeviceList pList = SharpPcap.GetAllDevices();
for (int i = 0; i < pList.Count; i++)
{
this.toolStripComboBoxPcapDevList.Items.Add(pList[i].PcapDescription);
}
//todo make this save a default value maby?
this.toolStripComboBoxPcapDevList.SelectedIndex = 0;