none
USB3 communication with .NET Core RRS feed

  • Question

  • Hello all,

    I'm interested in writing software that communicates with cameras via USB3. Ideally I'd like to use .NET Core 3 (when released) but am also interested in how to do this in the full framework as well. What are my options here? Thank you in advance.

    -L

    Tuesday, August 27, 2019 5:00 PM

All replies

  • Have you seen

    https://github.com/LibUsbDotNet/LibUsbDotNet


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    Tuesday, August 27, 2019 6:37 PM
    Moderator
  • Hi LKeene,

    Thank you for posting here.

    As Karen said, you could use LibUsbDotNet to communicate with USB 3.0. The  following describes it, you could have a look.

    USB 3.0 and C#

    Note:This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Best Regards,

    Jack


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, August 28, 2019 2:35 AM
    Moderator
  • Do you mean video cameras, or still cameras?  As a general rule, you don't talk to cameras through USB directly.  The whole point of a Windows driver is to abstract all of that.  You'll use the Camera APIs, or DirectShow, or Media Foundation.  Those APIs will deal with the low-level camera stuff.  You just focus on using the frames.

    Tim Roberts | Driver MVP Emeritus | Providenza & Boekelheide, Inc.

    Wednesday, August 28, 2019 5:28 AM