Hi all,

I am trying to show the harddrive-capacity (used/free), but I canot get the harddrive.

I have: (vBox is an IMachine)

for (Iterator<IHardDiskAttachment> j = vBox.getHardDiskAttachments().iterator(); j.hasNext();) {
    IHardDiskAttachment hda = (IHardDiskAttachment)j.next();
    .....?

The manual shows getHardDrive(), but this method returns a String like this: 1fbfdca3ed2e8271-0000000000000087
Does anybody know, how to get the IHardDrive and the the free and used-size?

Thank you very much in advance

Thomas








_______________________________________________
vbox-dev mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-dev

Reply via email to