Click here to Skip to main content
11,934,809 members (47,379 online)
Click here to Skip to main content
Add your own
alternative version


87 bookmarked

Freakshow - a sample application in C#

, 18 Dec 2003
Rate this:
Please Sign up or sign in to vote.
A collection of examples on how to use C# in one application


On each Tab Page there is a tiny application to show something like Clipboard actions, TCP server/client, Network Performance, serial communication, creating Processes. Source code which belongs to one Tab Page is in a separate Code Region or own class, so you don’t have to search too much if you are looking only for one thing.


Here I give a short overview of what you can find in the Application. The Application stays in the Tray, if you want to exit, then use the Context menu of the tray icon.


Whenever you put Text to the Clipboard (e.g. pressing Ctrl-c) this Text is added to the ClipBoardLocal. It’s like collection of all Clipboard actions. The ClipBoardLocal Text can be saved to a file.


You can connect your Clipboard to a “Remote Clipboard” of another Computer through tcp connection. So you can copy Data through the Clipboard to another PC without using a file transfer.


Here you can find an example for doing Address Resolution and watching the Network Performance with Performance counters. On pressing the Start Button a Popup Windows appears to select the Network Adapter.

File Change

Here is an example playing with the FileSystemWatcher Class to show how to monitor a drive for file access.

Mini Terminal

Communication through the serial port is not implemented in the .NET Framework, but fortunately there is a JH.CommBase class which imports all necessary stuff from the kernel32.dll. The Data can be watched in ASCII or in Hex Values. You can connect 2 PCs through a null modem cable or monitor another device.


Here are examples to call DOS Commands in a separate process and show the result in a textbox (instead of starting the dos box).

Net Shares

All Computers of the Network are listed in a list view and the shares of the Resources are shown in a textbox.


  • V1.0.0 First Release
  • V1.1.0 Added Tab for showing Network Shares; Network Device can be selected for the Performance counter


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Web Developer
Germany Germany
1996-2000 Embedded SW Development for Automotive Systems
2000 - today Embedded SW Development for Telecomunication Systems (cordless phones)

You may also be interested in...

Comments and Discussions

GeneralPort monitoring Pin
s2_priyanka20-Aug-06 20:06
members2_priyanka20-Aug-06 20:06 
GeneralRe: Port monitoring Pin
dodiggitydag12-Oct-06 15:31
memberdodiggitydag12-Oct-06 15:31 
GeneralJH.CommBase Version 1.3 Pin
Belal Marzouk17-Oct-04 2:38
memberBelal Marzouk17-Oct-04 2:38 
GeneralRe: JH.CommBase Version 1.3 Pin
[SPA]16-Dec-04 5:32
member[SPA]16-Dec-04 5:32 
GeneralWin32Com Pin
Belal Marzouk17-Oct-04 2:27
memberBelal Marzouk17-Oct-04 2:27 
General.NET framework 1.1 SP1 update Pin
frogsnot28-Sep-04 17:45
memberfrogsnot28-Sep-04 17:45 
GeneralRe: .NET framework 1.1 SP1 update Pin
frogsnot29-Sep-04 21:27
memberfrogsnot29-Sep-04 21:27 
Generalthe MiniTerminal send data to com problem Pin
uk2cn29-Dec-03 5:29
memberuk2cn29-Dec-03 5:29 
GeneralRe: the MiniTerminal send data to com problem Pin
Boggy Man19-Mar-04 9:02
memberBoggy Man19-Mar-04 9:02 
GeneralOoops Pin
Martin Robins at Work15-Dec-03 8:00
memberMartin Robins at Work15-Dec-03 8:00 
GeneralGreat, but... Pin
Paul Evans14-Dec-03 9:58
memberPaul Evans14-Dec-03 9:58 
GeneralAnother suggestion Pin
jeff_martin11-Dec-03 5:24
memberjeff_martin11-Dec-03 5:24 
GeneralRe: Another suggestion Pin
Anonymous11-Dec-03 12:33
sussAnonymous11-Dec-03 12:33 
GeneralRe: Another suggestion Pin
Alvaro Mendez12-Dec-03 9:21
memberAlvaro Mendez12-Dec-03 9:21 
GeneralRe: Another suggestion Pin
M. Engshun14-Dec-03 10:20
sussM. Engshun14-Dec-03 10:20 
GeneralSuggestions Pin
Matt Philmon11-Dec-03 5:17
memberMatt Philmon11-Dec-03 5:17 
GeneralRe: Suggestions Pin
freakshow12-Dec-03 0:39
memberfreakshow12-Dec-03 0:39 
GeneralRe: Suggestions Pin
TJohnson16-Dec-03 9:16
memberTJohnson16-Dec-03 9:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.151126.1 | Last Updated 19 Dec 2003
Article Copyright 2003 by freakshow
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid