Click or drag to resize

MachineStorages Property

List of storages

Namespace:  VMInfoFace.Data
Assembly:  VMInfoFace.Data (in VMInfoFace.Data.dll) Version: 21.5.28.1 (21.5.28.1171)
Syntax
public List<Storage> Storages { get; private set; }

Property Value

Type: ListStorage
Remarks
Add storage with method StorageAdd(String, Int64)
Examples
This example read all storages
StringBuilder Text = new StringBuilder();
Text.AppendLine("Storages in MB:");
foreach (VMInfoFace.Data.Storage Storage in Machine.Storages)
{
    Text.AppendLine(Storage.Name + ": " + Storage.Capacity.ToString());
}
See Also