Class VirtualMachineNetworkAdapter
Describes a Hyper-V virtual network adapter attached to a virtual machine.
Namespace: Neon.HyperV
Assembly: Neon.HyperV.dll
Syntax
public class VirtualMachineNetworkAdapter
Properties
Addresses
The IP addresses assigned to the adapter.
Declaration
public List<IPAddress> Addresses { get; set; }
Property Value
Type | Description |
---|---|
List<IPAddress> |
IsManagementOs
true
if this adapter is attached to the management operating system.
Declaration
public bool IsManagementOs { get; set; }
Property Value
Type | Description |
---|---|
bool |
MacAddress
The adapter's MAC address.
Declaration
public string MacAddress { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The adapter name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Status
The adapter status.
Declaration
public string Status { get; set; }
Property Value
Type | Description |
---|---|
string |
SwitchName
The attached switch name.
Declaration
public string SwitchName { get; set; }
Property Value
Type | Description |
---|---|
string |
VMName
The name of the attached virtual machine.
Declaration
public string VMName { get; set; }
Property Value
Type | Description |
---|---|
string |