Esempio n. 1
0
        async Task <DeviceConnection> GetDeviceAsync()
        {
            if (_connection == null)
            {
                _connection = await DeviceConnection.CreateAsync(_comPort);
            }

            return(_connection);
        }