Method GetTransPortProtocol
GetTransPortProtocol(IDeviceProperties)
Sets protocol (USB-HID or VCOM)to use for the pad.
Declaration
public static int GetTransPortProtocol(this IDeviceProperties deviceProperties)
Parameters
Type | Name | Description |
---|---|---|
IDeviceProperties | deviceProperties | The device properties. See DeviceProperties. |
Returns
Type | Description |
---|---|
System.Int32 | returns 0 = USB-HID, 2 = VCOM, 1 = DO not use this. incase of success and 3 incase of error. |