Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. USB port programming??

USB port programming??

Scheduled Pinned Locked Moved C#
tutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    EdgarBM
    wrote on last edited by
    #1

    Hi all, I want to get some sample code or good tutorial to program the USB port. I just want to use the USB port like I could make with a serial port or an ethernet port (I think that with USB it will be the combination of both), just to send and receive information in an assyncronous way (maybe). It's easy!! ;) Do you know anyway to begin? Thank you in advance, Edgar __________________________________________ Edgar Berengena Moreno Software Engineer Appeyron Research

    H 1 Reply Last reply
    0
    • E EdgarBM

      Hi all, I want to get some sample code or good tutorial to program the USB port. I just want to use the USB port like I could make with a serial port or an ethernet port (I think that with USB it will be the combination of both), just to send and receive information in an assyncronous way (maybe). It's easy!! ;) Do you know anyway to begin? Thank you in advance, Edgar __________________________________________ Edgar Berengena Moreno Software Engineer Appeyron Research

      H Offline
      H Offline
      Heath Stewart
      wrote on last edited by
      #2

      EdgarBM wrote: Do you know anyway to begin? You might start by searching google for examples. The following search turned up several good results: http://www.google.com/search?q=C%23+USB[^]. Because of the shear volume of native calls, the typical solution is to build a mixed-mode Managed C++ assembly. You can then reference the assembly in a C# project for easier use. Many of the articles include sample assemblies that already contain the necessary functionality. A link in the third search result contains sample code on MSDN: http://msdn.microsoft.com/msdnmag/issues/02/10/netserialcomm/[^].

      Microsoft MVP, Visual C# My Articles

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups