Exemplo 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);
 }
Exemplo 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);
        }