public static async Task Main(string[] args) { DeviceEnumerator en = new DeviceEnumerator(); var arr = await en.FindAll <ISerialDevice <SerialDeviceName> >().ToArrayAsync(); ISerialDevice <SerialDeviceName> device = arr[0]; device.Start(); await device.Send(new byte[] { 0, 1, 2 }); }