Search code examples
c#winapicom

NET SEND to users Across Network


Not sure how to phrase this again, but... this is what I'm trying to do:

I'm writing a program to scan for duplicate logged on users (Users logged on more than once) on my network at work.

I can write the duplicity finder, but I need a way to be able to send a message out to that user saying they aren't allowed to be logged on more than once on the network and this message needs to go to each computer they're logged in on.

I've tried "net send " but it appears to be only sent to one computer. (I'm sitting here logged in three times testing this and I only get 1/3 three messages. :/)

Thanks,
-Zack


Solution

  • Answering an old question of mine that doesn't have an answer.

    If I were tackling this problem again, I would likely setup a local daemon or application to receive push-style notifications for Windows 7 or likely look into WNS for Windows 10 apps.