
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
924
|
Chapter 16: Networking
Id: MS TCP Loopback interface
Physical (MAC) Address:
Description: MS TCP Loopback interface
Name: MS TCP Loopback interface
OperationalStatus: Up
Interface type: Loopback
Speed: 10000000
Dns Suffix :
Anycast Addresses:
DHCP Server Addresses:
DNS Addresses:
Gateway Addresses:
Unicast Addresses:
Address: 127.0.0.1
Preferred Lifetime: 3170812643
Valid Lifetime: 3170812643
DHCP Lease Lifetime: 3170812643
Prefix Origin: Manual
Suffix Origin: Manual
Multicast Addresses:
Address: 224.0.0.1
Preferred Lifetime: 0
Valid Lifetime: 0
DHCP Lease Lifetime: 7733284
Prefix Origin: 110
Suffix Origin: WellKnown
WINS Server Addresses:
Discussion
Knowing the configuration of the network you are running on can come in handy
when attempting to troubleshoot connectivity issues. Being able to get an event noti-
fication when connectivity is lost or an adapter changes its IP address is a great bene-
fit, as it allows you to write code that can recover gracefully and instruct the user
what has happened. However you want to use it, there is a lot of valuable informa-
tion provided in the
NetworkInformation namespace that can make life a bit better for
developers working in a connected environment.
See Also
See the “System.Net.NetworkInformation Namespace,” “Network Interface