Shinichi
Shinichi

Reputation: 505

.NET Library for Client/Server application?

I have a plan to write a small "Network manager" for my company using C#. It like a chat application. Please see example bellow:

Ex: Client(C) is manager, Server(S)

C: send string "is_process_running x.exe" (check x.exe is running on server pc)
S: check and send to C: "x.exe is running\nPath: 'C:\\windows\system32\x.exe'"
C: "kill_process_with_warning x.exe"
S: Show a message "Administrator detected you 're running a program that disallowed on computer. It will be kill in 10 seconds" and S kill process x.exe. Reply to C: "process killed!"
C: "disconnect"

... ... ...

I finding library for that. Please tell me something you know about that.

Thanks !

Upvotes: 1

Views: 1561

Answers (2)

Nikola Radosavljević
Nikola Radosavljević

Reputation: 6911

Is there any reason you wouldn't use WCF? It may be an overkill for what you described here, but such apps are bound to grow in order to add funcionality. It does have a great lot of abilities, but here's a quickstart guide.

Upvotes: 1

Samuel Neff
Samuel Neff

Reputation: 74939

Use a TcpClient and TcpListener.

Upvotes: 2

Related Questions