在 C# 中与没有 WinUSB 驱动程序的 USB 设备通信
Talking to USB devices without WinUSB driver in C#
有关 UWP 应用程序中 USB 访问的所有文档始终假定使用了 WinUSB 驱动程序。第一步是安装 WinUSB 驱动程序,然后才能对 USB 设备使用 Windows.Devices.Usb 命名空间函数。
我正在尝试访问 USB 设备 没有 WinUSB 驱动程序,因为该设备带有自己的驱动程序。 这是否意味着现在我不能使用 Windows.Devices.Usb 命名空间函数? 或者 WinUSB 驱动程序只是一个通用的 USB 驱动程序,如果可用,可以很容易地用特定的 USB 设备驱动程序替换,如果 USB 设备有自己的驱动程序,我可以使用 Windows.Devices.Usb 命名空间函数吗?
I am trying to access an USB device without WinUSB driver because this device comes with its own driver. Does this mean that now I cannot use Windows.Devices.Usb namespace functions?
是的,您不能使用 Windows.Devices.Usb if the device driver is not Winusb.sys. See the official document What are the limitations of the namespace。
有关 UWP 应用程序中 USB 访问的所有文档始终假定使用了 WinUSB 驱动程序。第一步是安装 WinUSB 驱动程序,然后才能对 USB 设备使用 Windows.Devices.Usb 命名空间函数。
我正在尝试访问 USB 设备 没有 WinUSB 驱动程序,因为该设备带有自己的驱动程序。 这是否意味着现在我不能使用 Windows.Devices.Usb 命名空间函数? 或者 WinUSB 驱动程序只是一个通用的 USB 驱动程序,如果可用,可以很容易地用特定的 USB 设备驱动程序替换,如果 USB 设备有自己的驱动程序,我可以使用 Windows.Devices.Usb 命名空间函数吗?
I am trying to access an USB device without WinUSB driver because this device comes with its own driver. Does this mean that now I cannot use Windows.Devices.Usb namespace functions?
是的,您不能使用 Windows.Devices.Usb if the device driver is not Winusb.sys. See the official document What are the limitations of the namespace。