I\'m looking for a C# code snippet to give me a notification for when a USB drive is plugged into my PC in Windows Vista (or win7)
Look at WM_DEVICECHANGE. This message should be sent when a drive is inserted.