public void CopyTo(BluetoothDeviceCollection array, System.Int32 index) { devices.CopyTo(array.devices.ToArray(), index); }
void listPairedDevices() { listBox1.Items.Clear(); ddump("Local bt mac: "+btr.getLocalBtAddressStr()); btdc = btr.PairedDevices; foreach (BluetoothDevice bd in btdc) { ddump("Found paired device: " + bd.AddressStr + ", '" + bd.Name + "'"); listBox1.Items.Add(bd); } }