I found this code snippet
here which shows how you could set this up in C++, so I wrapped that code into a managed assembly that you can call from a .net application.
This is all Win32 Shell Intefaces, so you will need to refer to the
MSDN for more information about the functions. I have attached the assembly and a test C# app.
I'm not sure if anything like this is built into the .NET framework. But this does seem to work. I hope this helps. This is for XP and 2K only.
Bilal Durrani
NI