SerialPort.VendorId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return the vendor ID of this serial port if it is a USB device.
public int VendorId { [Android.Runtime.Register("getVendorId", "()I", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getVendorId", "()I", "", ApiSince=37)>]
member this.VendorId : int
Property Value
Return the vendor ID of this serial port if it is a USB device.
- Attributes
Remarks
Return the vendor ID of this serial port if it is a USB device. Otherwise, it returns INVALID_ID.
Android reference for android.hardware.serial.SerialPort.getVendorId.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.