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. Sending Message to all clients

Sending Message to all clients

Scheduled Pinned Locked Moved C#
csharpsysadmin
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.
  • Z Offline
    Z Offline
    Zapss
    wrote on last edited by
    #1

    :confused: Hello . Iam new to c#. How a message to send to all clients in LAN network. like "Net send" command

    H 1 Reply Last reply
    0
    • Z Zapss

      :confused: Hello . Iam new to c#. How a message to send to all clients in LAN network. like "Net send" command

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

      This has been covered in this forum many times. Whether or not you're new to programming or even just a particular language, basic research skills are a must in the field of development. Next time, please search first. You can search this site's articles using the search box at the top of every page, or click "Search comments" in every forum to search previous threads. You could also just google the entire web. The simplest way is to just use "net send" using the Process class:

      Process.Start("net", "send /domain Hello, world!");

      The other way is to P/Invoke the native functions but requires you understand what P/Invoke is. If you want to go that route, I suggest you search for the previous threads about "net send" and you'll find links and examples, but the method above works just fine. This posting is provided "AS IS" with no warranties, and confers no rights. Software Design Engineer Developer Division Sustained Engineering Microsoft [My Articles] [My Blog]

      Z 1 Reply Last reply
      0
      • H Heath Stewart

        This has been covered in this forum many times. Whether or not you're new to programming or even just a particular language, basic research skills are a must in the field of development. Next time, please search first. You can search this site's articles using the search box at the top of every page, or click "Search comments" in every forum to search previous threads. You could also just google the entire web. The simplest way is to just use "net send" using the Process class:

        Process.Start("net", "send /domain Hello, world!");

        The other way is to P/Invoke the native functions but requires you understand what P/Invoke is. If you want to go that route, I suggest you search for the previous threads about "net send" and you'll find links and examples, but the method above works just fine. This posting is provided "AS IS" with no warranties, and confers no rights. Software Design Engineer Developer Division Sustained Engineering Microsoft [My Articles] [My Blog]

        Z Offline
        Z Offline
        Zapss
        wrote on last edited by
        #3

        Thanks for your suggetion :cool: I have another doubt will please help me? link below http://www.codeproject.com/script/comments/forums.asp?msg=949594&forumid=1649#xx949594xx

        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