Exemple #1
0
 public static Task <USBOutTransferResult> ControlTransferOut(this USBDevice device, USBControlTransferParameters setup, byte[] data)
 {
     return(JSRuntime.Current.InvokeAsync <USBOutTransferResult>(CONTROL_TRANSFER_OUT_METHOD, device, setup, data));
 }
Exemple #2
0
 public static Task <USBInTransferResult> ControlTransferIn(this USBDevice device, USBControlTransferParameters setup, long length)
 {
     return(JSRuntime.Current.InvokeAsync <USBInTransferResult>(CONTROL_TRANSFER_IN_METHOD, device, setup, length));
 }