Reputation: 14455
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?
Upvotes: 1
Views: 1116
Reputation: 36101
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.
Upvotes: 0
Reputation: 1063774
I don't know if it will work, but you could try this, pointing at the drive root.
Upvotes: 2