(c) 2002 Visual Studio Magazine 
Fawcette Technical Publications

Issue: May 2002
Section: Q&A
Authors: Karl Peterson and Mattias Sjogren
Filename: vs0205qa

You can find the code for this article in these zip files:

NoAutoRun: prevents AutoRun.inf files from executing
envinfo: demonstrates the System.Environment class
username: shows how to get the current user name
listings.txt: you can find listings 1 and 2 here