Fwupd.Device.has_vendor_id

### Method

# Fwupd Devicehas_vendor_id

since: 1.5.5

#### Declaration [src]

    gboolean
    fwupd_device_has_vendor_id (
      FwupdDevice* self,
      const gchar* vendor_id
    )

#### Description [src]

Finds out if the device has this specific vendor ID.

Available since: 1.5.5

#### Parameters

`vendor_id`

  Type: `const gchar*`

  The vendor ID, e.g. ‘USB:0x1234’

  The data is owned by the caller of the method.
  The value is a NUL terminated UTF-8 string.

#### Return value

Type: `gboolean`

`TRUE` if the vendor ID is found.