This code may be used under the license given in the license.txt file.

The original post covering this code can be found at:

http://blogs.windowsclient.net/nidonocu

To use the code snippet, copy it to:
"Your Documents\Visual Studio 200x\Code Snippets\Visual C#\My Code Snippets"

Then type the snippet name in code and press tab twice to complete it.
Refer to MSDN documentation on how to use Snippets.


Nidonocu C:\>
nidonocu@gmail.com