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
  1. Home
  2. General Programming
  3. C#
  4. How to Retrieve Serial Ports and Parallel Ports in the current system by Using Visual C#

How to Retrieve Serial Ports and Parallel Ports in the current system by Using Visual C#

Scheduled Pinned Locked Moved C#
csharpjsontutorial
3 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.
  • S Offline
    S Offline
    sums08
    wrote on last edited by
    #1

    I am trying to get the list of Serial ports available in windows system. Appreciate, if you could lead me to some API's available in C# to retrive the existing ports in the system. Thnx SRB

    W 1 Reply Last reply
    0
    • S sums08

      I am trying to get the list of Serial ports available in windows system. Appreciate, if you could lead me to some API's available in C# to retrive the existing ports in the system. Thnx SRB

      W Offline
      W Offline
      whizzs
      wrote on last edited by
      #2

      Here's one: http://msdn.microsoft.com/msdnmag/issues/02/10/NETSerialComm/default.aspx Or you can get the .NET framework 2.0 (beta) and use the System.IO.Ports namespace which has everything you need bundled in one managed assembly

      S 1 Reply Last reply
      0
      • W whizzs

        Here's one: http://msdn.microsoft.com/msdnmag/issues/02/10/NETSerialComm/default.aspx Or you can get the .NET framework 2.0 (beta) and use the System.IO.Ports namespace which has everything you need bundled in one managed assembly

        S Offline
        S Offline
        sums08
        wrote on last edited by
        #3

        Thanks a bunch whizzs. I am working on .NET 1.1, so the customized version of this code works for me. cool

        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