共用方式為


NetworkAdapters Class

Definition

Represents the network adapter on device.

public class NetworkAdapters
type NetworkAdapters = class
Public Class NetworkAdapters
Inheritance
NetworkAdapters

Constructors

NetworkAdapters()

Initializes a new instance of the NetworkAdapters class.

NetworkAdapters(NetInterfaceId, NetInterfaceStatus, ISCSIAndCloudStatus, NetworkMode, Nullable<Boolean>, Nullable<Int64>, NicIPv4, NicIPv6)

Initializes a new instance of the NetworkAdapters class.

Properties

InterfaceId

Gets or sets the ID of the network adapter. Possible values include: 'Invalid', 'Data0', 'Data1', 'Data2', 'Data3', 'Data4', 'Data5'

IscsiAndCloudStatus

Gets or sets value indicating cloud and ISCSI status of network adapter. Possible values include: 'Disabled', 'IscsiEnabled', 'CloudEnabled', 'IscsiAndCloudEnabled'

IsDefault

Gets or sets value indicating whether this instance is default.

Mode

Gets or sets the mode of network adapter, either IPv4, IPv6 or both. Possible values include: 'Invalid', 'IPV4', 'IPV6', 'BOTH'

NetInterfaceStatus

Gets or sets value indicating status of network adapter. Possible values include: 'Enabled', 'Disabled'

NicIpv4Settings

Gets or sets the IPv4 configuration of the network adapter.

NicIpv6Settings

Gets or sets the IPv6 configuration of the network adapter.

Speed

Gets or sets the speed of the network adapter.

Methods

Validate()

Validate the object.

Applies to