VMWareVirtualMachine Class

Represents a VMWare Virtual Machine.

Definition

Namespace: DevCase.ThirdParty.VMware
Assembly: DevCase.net48.ThirdParty.VMware (in DevCase.net48.ThirdParty.VMware.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public sealed class VMWareVirtualMachine
Inheritance
Object    VMWareVirtualMachine

Remarks

Note: Some functionalities of this assembly may require to install one or all of the listed applications:

VMware Workstation Player / VMware Workstation Pro (vmrun.exe)

Constructors

VMWareVirtualMachine Initializes a new instance of the VMWareVirtualMachine class.

Properties

BiosUuId Gets the BIOS UUID.
CoresPerProcessor Gets the amount of cores per processor of this VM.
DisplayName Gets the display name of this VM.
Firmware Gets the firmware type of this VM. It can be: BIOS, or UEFI.
GraphicsHardwareAccelerationEnabled Gets a value that determine whether 3D graphics hardware acceleration is enabled in this VM.
GraphicsMemorySize Gets the total graphics memory size of this VM, in megabytes.
GuestOsCredential Gets or sets the username and password of the running user-account in the guest operating system of this VM.

The credential is required to perform some I/O operations with VMWare's vmrun.exe program. So you must set this credential before using vmrun.exe.

IsSharedVm Gets a value that determine whether this VM is a shared VM.
MemorySize Gets the total memory size of this VM, in megabytes.
OsVersion Gets the version of the guest operating system of this VM.
ProcessorCount Gets the amount of processors of this VM.

The resulting value is the division between TotalProcessorCores \ CoresPerProcessor.

SecureBootEnabled Gets a value that determine whether secureboot is enabled for UEFI firmware mode.
SharedFolders Gets the shared folders of this VM.
TotalProcessorCores Gets the amount of processor cores of this VM.
VmGenerationId Gets the VM-Generation ID.
VmHardwareVersion Gets the hardware version of this VM.
VmxFile Gets .vmx file of this VM.

Methods

Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
Refresh Refresh the state (the properties) of this VMWareVirtualMachine.
ToString Returns a string that represents the current object.
(Inherited from Object)

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also