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. Serial Ports in C#

Serial Ports in C#

Scheduled Pinned Locked Moved C#
csharpquestionvisual-studiotutorial
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.
  • J Offline
    J Offline
    Jethro63
    wrote on last edited by
    #1

    Hi: What is involved in setting up a serial port (RS232) under .NET and specifically, using C#? Does C# offer anything that supports this or do I have to drag some Win32 DLL into it? There is an example on this site but it uses a SerialPort class that is supposed to be part of the "System.IO" name space. I'm using Visual Studio 2003. I can't find that in any of my documentation. I specifically need to set up asynchronous communication so I need a background thread to service incoming characters. Thanks in advance to anybody who responds. Cheers, Mark

    G 1 Reply Last reply
    0
    • J Jethro63

      Hi: What is involved in setting up a serial port (RS232) under .NET and specifically, using C#? Does C# offer anything that supports this or do I have to drag some Win32 DLL into it? There is an example on this site but it uses a SerialPort class that is supposed to be part of the "System.IO" name space. I'm using Visual Studio 2003. I can't find that in any of my documentation. I specifically need to set up asynchronous communication so I need a background thread to service incoming characters. Thanks in advance to anybody who responds. Cheers, Mark

      G Offline
      G Offline
      Gavin Jeffrey
      wrote on last edited by
      #2

      This link might shed some light on the matter - http://msdn.microsoft.com/msdnmag/issues/02/10/NETSerialComm/default.aspx

      J 1 Reply Last reply
      0
      • G Gavin Jeffrey

        This link might shed some light on the matter - http://msdn.microsoft.com/msdnmag/issues/02/10/NETSerialComm/default.aspx

        J Offline
        J Offline
        Jethro63
        wrote on last edited by
        #3

        Thanks Gavin. This looks exactly like what I am looking for. Cheers, Mark :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