Day 11 - Graffiti Wallpaper
*** memory leak fixed in server code, I wasn't properly disposing of streams ***
Connect to remote machines running the server portion of this app (like my machine - see below) and scribble on the wallpaper. What a cool social experiment! Thanks to HAK.5's Darren for the great idea (again, Jedi Console was his too).
This application is 2 parts once again, like the broadcaster. Server and client.
The server runs on a machine and allows clients to connect to it and graffiti up the desktop wallpaper. Upon launching it will ask for a port to run on. Then you hit start. You can close the form, double clicking the green W in the systray brings it back.
The client prompts for a server and port to connect to, then allows you to draw on the server machines desktop for 2 minutes. It gives a warning after 60 seconds. The drawing is implemented very crudely, but built from scratch. After hitting the "Save as remote wallpaper", your be prompted with a captcha text image. This is so no one can hack the client to programmatically repeatedly send nasty images. :)
Of course, I'm running the server portion wide open for the world to scribble on my desktop. After launching the client use the server "softwarejedi.servepics.com" and port "8910"! Internet Explorer users with .NET 2.0 SHOULD be able to just click here without downloading anything for a direct connection into my desktop. This seems to have mixed results though, so tell me what it does for you (IE USERS ONLY - SORRY).
Download the app here
Download the source here
What great source code for reference! The wallpaper and remoting stuff I did previously with the wallpaper and broadcast apps, but throwing in the captcha? Pure genius
I also demonstrate a ClickOnce deployment (For IE ONLY) with a passed in querystring. I can't get into the details here, but maybe one day I can! Just google it if you're interested!