views:

262

answers:

2

In a .NET WinForms app, how do I get a specific drive's icon (C:\ for example) for whatever version of Windows the client might be running?

+1  A: 

I don't know if it will work, but you could try this, pointing at the drive root.

Marc Gravell
A: 

SHGetFileInfo is how the operating system exposes information about objects in the file system. How you go about calling it from a .NET WinForms app? I can't help you there.

Chris Becke