has_vendor_id


Description:

[ Version ( since = "1.5.5" ) ]
public bool has_vendor_id (string vendor_id)

Finds out if the device has this specific vendor ID.

Parameters:

this

A Device

vendor_id

the ID, e.g. 'USB:0x1234'

Returns:

true if the ID is found