[vbox-dev] Question to IHardDiskAttachment
Thomas Trepper
thomas.trepper at microbyte.at
Sun Aug 9 14:22:15 GMT 2009
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
More information about the vbox-dev
mailing list