J
Jeff Gaines
I am using the 'ManagementObject' to get the volume name of each drive
on my PC. It works but it is a bottleneck.
Is there an quicker way to get this information? I am using C# but am
happy yo make API calls.
I have tried the API call 'GetVolumeInformation' which returns the
drive letter rather than the volume name and also another function
(name forgotten) which returned a string that looked like it might be
the volume 'unique' number allocated by formatting a drive.
The VB function 'Dir' looks like it might work but I have been unable
to get to it from C#.
Any help appreciated.
on my PC. It works but it is a bottleneck.
Is there an quicker way to get this information? I am using C# but am
happy yo make API calls.
I have tried the API call 'GetVolumeInformation' which returns the
drive letter rather than the volume name and also another function
(name forgotten) which returned a string that looked like it might be
the volume 'unique' number allocated by formatting a drive.
The VB function 'Dir' looks like it might work but I have been unable
to get to it from C#.
Any help appreciated.