public static GVector<GVolumeInformations> GetVolumes() { GVector<GVolumeInformations> list = new GVector<GVolumeInformations>(); String[] drives = Environment.GetLogicalDrives(); UInt32 i = 0; while (i < drives.Length) { GVolumeInformations t = new GVolumeInformations(drives[i]); list.PushBack(t); ++i; } return (list); }
public static GVector <GVolumeInformations> GetVolumes() { GVector <GVolumeInformations> list = new GVector <GVolumeInformations>(); String[] drives = Environment.GetLogicalDrives(); UInt32 i = 0; while (i < drives.Length) { GVolumeInformations t = new GVolumeInformations(drives[i]); list.PushBack(t); ++i; } return(list); }