Esempio n. 1
0
 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);
 }
Esempio n. 2
0
        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);
        }