Show / Hide Table of Contents

Class NetworkInterfaceInfo

Network interface info.

Inheritance
object
NetworkInterfaceInfo
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.XboxStudios.DeviceConsole.Environments.Network
Assembly: DeviceConsole.Environments.dll
Syntax
public class NetworkInterfaceInfo

Constructors

View Source

NetworkInterfaceInfo(string, string, int, Guid, string, Dhcp?, IEnumerable<IPAddressInfo>, IEnumerable<IPAddressInfo>)

Initializes a new instance of the NetworkInterfaceInfo class.

Declaration
public NetworkInterfaceInfo(string description, string macAddress, int index, Guid id, string interfaceType, Dhcp? dhcp, IEnumerable<IPAddressInfo> gateways, IEnumerable<IPAddressInfo> ipAddresses)
Parameters
Type Name Description
string description

The description.

string macAddress

The hardware address.

int index

The index.

Guid id

The Id.

string interfaceType

The interface type.

Dhcp dhcp

The DHCP info.

IEnumerable<IPAddressInfo> gateways

The gateway info.

IEnumerable<IPAddressInfo> ipAddresses

The list of IP addresses.

Properties

View Source

Description

Gets the description.

Declaration
public string Description { get; }
Property Value
Type Description
string
View Source

Dhcp

Gets the DHCP info.

Declaration
public Dhcp? Dhcp { get; }
Property Value
Type Description
Dhcp
View Source

Gateways

Gets the Gateway info.

Declaration
public IReadOnlyList<IPAddressInfo> Gateways { get; }
Property Value
Type Description
IReadOnlyList<IPAddressInfo>
View Source

Id

Gets the Id.

Declaration
public Guid Id { get; }
Property Value
Type Description
Guid
View Source

Index

Gets the index.

Declaration
public int Index { get; }
Property Value
Type Description
int
View Source

InterfaceType

Gets the type.

Declaration
public string InterfaceType { get; }
Property Value
Type Description
string
View Source

IPAddresses

Gets the list of IP addresses.

Declaration
public IReadOnlyList<IPAddressInfo> IPAddresses { get; }
Property Value
Type Description
IReadOnlyList<IPAddressInfo>
View Source

MacAddress

Gets the hardware address.

Declaration
public string MacAddress { get; }
Property Value
Type Description
string
  • View Source
In This Article
Back to top Generated by DocFX