Wednesday, April 07, 2010

Cassia – A .NET Windows Terminal Services Library (Think “Including the Terminal Services Manager MMC Snap-in functionality in your app’s” library)

code.google.comCassia

“Cassia is a .NET library for accessing the native Windows Terminal Services API. It can be used from C#, Visual Basic.NET, or any other .NET language.

What can I do with it?

Cassia supports the following operations on both local and remote terminal servers:

  • Enumerating terminal sessions and reporting session information including connection state, user name, client name, client display details, client-reported IP address, and client build number (WTSEnumerateSessions, WTSQuerySessionInformation, and friends)
  • Logging off a session (WTSLogoffSession)
  • Disconnecting a session (WTSDisconnectSession)
  • Displaying a message box in a session and getting a response from the user (WTSSendMessage)
  • Enumerating all processes (WTSEnumerateProcesses)
  • Killing a process (WTSTerminateProcess)
  • Shutting down or rebooting the server (WTSShutdownSystem)

In addition, Cassia supports enumerating all terminal servers on a domain (WTSEnumerateServers).

image

…”

I came across this today and thought it was pretty cool. This is one of those, if you need it you’ll think it’s cool, but if you don’t you won’t” kind of project…;)

No comments:

Post a Comment

NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...

ALL comments are moderated. I will review every comment before it will appear on the blog.

Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...

I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...

Please see my comment policy for more information if you are interested.

Thanks,
Greg

PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...