NetworkInterface Members
The following tables list the members exposed by the NetworkInterface type.
Public Properties
| Name | Description | |
|---|---|---|
![]() |
DnsAddresses | Holds the DNS server address. |
![]() |
GatewayAddress | Contains the gateway address. |
![]() |
IPAddress | Holds the IP address of the network interface. |
![]() |
IsDhcpEnabled | Gets a value specifying whether DHCP is enabled for this network interface.s |
![]() |
IsDynamicDnsEnabled | Retrieves a value indicating whether a network interface can obtain a DNS server address automatically. |
![]() |
NetworkInterfaceType | Retrieves a value specifying the type of network interface being used by the device. |
![]() |
PhysicalAddress | Sets or gets the Media Access Control (MAC) address for a network interface |
![]() |
SubnetMask | Retrieves the network interface's subnet mask. |
Public Methods
| Name | Description | |
|---|---|---|
![]() |
EnableDhcp | Enables the Dynamic Host Configuration Protocol (DHCP) for service with this network interface. |
![]() |
EnableDynamicDns | Enables a network interface to obtain a DNS server address automatically. |
![]() |
EnableStaticDns | Enables a network interface to use a specific DNS server address. |
![]() |
EnableStaticIP | Enables an application to set and use a static IP address. |
![]() |
Equals | (Inherited from Object.) |
![]() |
GetAllNetworkInterfaces | Retrieves an array of all of the device's network interfaces. |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
ReferenceEquals | (Inherited from Object.) |
![]() |
ReleaseDhcpLease | Releases the DHCP lease, which releases the IP address bound to a DHCP-enabled network interface. |
![]() |
RenewDhcpLease | Renews a DHCP lease, which renews the IP address on a DHCP-enabled network interface. |
![]() |
ToString | (Inherited from Object.) |
Protected Methods
| Name | Description | |
|---|---|---|
![]() |
Finalize | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
See Also
Reference
NetworkInterface Class
Microsoft.SPOT.Net.NetworkInformation Namespace
.gif)
.gif)
.gif)
.gif)