namespace Tinkerforge
{
    public static class EDevice
    {
        public static (string Uid, string ConnectedUid, char Position, byte[] HardwareVersion, byte[] FirmwareVersion, int DeviceIdentifier) GetIdentity(this Device device)
        {
            device.GetIdentity(out string uid, out string connectedUid, out char position, out byte[] hardwareVersion, out byte[] firmwareVersion, out int deviceIdentifier);
            return (uid, connectedUid, position, hardwareVersion, firmwareVersion, deviceIdentifier);
        }
    }
}
