| VirtualBox Main API
    | 
Represents one of host's network interfaces. More...
 
 | Public Member Functions | |
| void | enableStaticIPConfig (in wstring IPAddress, in wstring networkMask) | 
| sets and enables the static IP V4 configuration for the given interface. | |
| void | enableStaticIPConfigV6 (in wstring IPV6Address, in unsigned long IPV6NetworkMaskPrefixLength) | 
| sets and enables the static IP V6 configuration for the given interface. | |
| void | enableDynamicIPConfig () | 
| enables the dynamic IP configuration. | |
| void | DHCPRediscover () | 
| refreshes the IP configuration for DHCP-enabled interface. | |
| Public Attributes | |
| readonly attribute wstring | name | 
| Returns the host network interface name. | |
| readonly attribute wstring | shortName | 
| Returns the host network interface short name. | |
| readonly attribute wstringUUID | id | 
| Returns the interface UUID. | |
| readonly attribute wstring | networkName | 
| Returns the name of a virtual network the interface gets attached to. | |
| readonly attribute boolean | DHCPEnabled | 
| Specifies whether the DHCP is enabled for the interface. | |
| readonly attribute wstring | IPAddress | 
| Returns the IP V4 address of the interface. | |
| readonly attribute wstring | networkMask | 
| Returns the network mask of the interface. | |
| readonly attribute boolean | IPV6Supported | 
| Specifies whether the IP V6 is supported/enabled for the interface. | |
| readonly attribute wstring | IPV6Address | 
| Returns the IP V6 address of the interface. | |
| readonly attribute unsigned long | IPV6NetworkMaskPrefixLength | 
| Returns the length IP V6 network mask prefix of the interface. | |
| readonly attribute wstring | hardwareAddress | 
| Returns the hardware address. | |
| readonly attribute HostNetworkInterfaceMediumType | mediumType | 
| Type of protocol encapsulation used. | |
| readonly attribute HostNetworkInterfaceStatus | status | 
| Status of the interface. | |
| readonly attribute HostNetworkInterfaceType | interfaceType | 
| specifies the host interface type. | |
| readonly attribute boolean | wireless | 
| Specifies whether the interface is wireless. | |
Represents one of host's network interfaces.
IP V6 address and network mask are strings of 32 hexadecimal digits grouped by four. Groups are separated by colons. For example, fe80:0000:0000:0000:021e:c2ff:fed2:b030.
{455F8C45-44A0-A470-BA20-27890B96DBA9} | void IHostNetworkInterface::enableStaticIPConfig | ( | in wstring | IPAddress, | 
| in wstring | networkMask | ||
| ) | 
sets and enables the static IP V4 configuration for the given interface.
| IPAddress | IP address. | 
| networkMask | network mask. | 
| void IHostNetworkInterface::enableStaticIPConfigV6 | ( | in wstring | IPV6Address, | 
| in unsigned long | IPV6NetworkMaskPrefixLength | ||
| ) | 
sets and enables the static IP V6 configuration for the given interface.
| IPV6Address | IP address. | 
| IPV6NetworkMaskPrefixLength | network mask. | 
| void IHostNetworkInterface::enableDynamicIPConfig | ( | ) | 
enables the dynamic IP configuration.
| void IHostNetworkInterface::DHCPRediscover | ( | ) | 
refreshes the IP configuration for DHCP-enabled interface.
| readonly attribute wstring IHostNetworkInterface::name | 
Returns the host network interface name.
| readonly attribute wstring IHostNetworkInterface::shortName | 
Returns the host network interface short name.
| readonly attribute wstringUUID IHostNetworkInterface::id | 
Returns the interface UUID.
| readonly attribute wstring IHostNetworkInterface::networkName | 
Returns the name of a virtual network the interface gets attached to.
| readonly attribute boolean IHostNetworkInterface::DHCPEnabled | 
Specifies whether the DHCP is enabled for the interface.
| readonly attribute wstring IHostNetworkInterface::IPAddress | 
Returns the IP V4 address of the interface.
| readonly attribute wstring IHostNetworkInterface::networkMask | 
Returns the network mask of the interface.
| readonly attribute boolean IHostNetworkInterface::IPV6Supported | 
Specifies whether the IP V6 is supported/enabled for the interface.
| readonly attribute wstring IHostNetworkInterface::IPV6Address | 
Returns the IP V6 address of the interface.
| readonly attribute unsigned long IHostNetworkInterface::IPV6NetworkMaskPrefixLength | 
Returns the length IP V6 network mask prefix of the interface.
| readonly attribute wstring IHostNetworkInterface::hardwareAddress | 
Returns the hardware address.
For Ethernet it is MAC address.
| readonly attribute HostNetworkInterfaceMediumType IHostNetworkInterface::mediumType | 
Type of protocol encapsulation used.
| readonly attribute HostNetworkInterfaceStatus IHostNetworkInterface::status | 
Status of the interface.
| readonly attribute HostNetworkInterfaceType IHostNetworkInterface::interfaceType | 
specifies the host interface type.
| readonly attribute boolean IHostNetworkInterface::wireless | 
Specifies whether the interface is wireless.