Click or drag to resize

Device Class

Device information
Inheritance Hierarchy
SystemObject
  VMInfoFace.DataDevice

Namespace:  VMInfoFace.Data
Assembly:  VMInfoFace.Data (in VMInfoFace.Data.dll) Version: 21.5.28.1 (21.5.28.1171)
Syntax
public class Device

The Device type exposes the following members.

Constructors
  NameDescription
Public methodDevice
Initializes a new instance of the Device class. Constructor without parameter
Public methodDevice(Int32, String, String)
Initializes a new instance of the Device class. Constructor with parameter
Top
Properties
  NameDescription
Public propertyCapacity
Hard disk capacity in MB
Public propertyIsHardDisk
Is this device a type of hard disk
Public propertyKey
Device key number example 2000
Public propertyLabel
Device label example "Hard disk 1"
Public propertySummary
Device summary example as hard disk is this content: 167,772,160 KB
Top
Remarks
An example of device information for hard disk
config.hardware.device[12].key:                                             2000
config.hardware.device[12].deviceInfo:                                      Vim25Api.Description
config.hardware.device[12].deviceInfo.label:                                Hard disk 1
config.hardware.device[12].deviceInfo.summary:                              73,400,320 KB

config.hardware.device[13].key:                                             2001
config.hardware.device[13].deviceInfo:                                      Vim25Api.Description
config.hardware.device[13].deviceInfo.label:                                Hard disk 2
config.hardware.device[13].deviceInfo.summary:                              167,772,160 KB
See Also