|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
Represents a Network Adapter (per IP Helper)
Field Summary | |
---|---|
System.Collections.Hashtable | adapters |
System.Net.IPAddress | address |
System.Net.IPAddress[] | addresslist |
bool | autoconfigactive |
bool | autoconfigenabled |
string | description |
bool | dhcpenabled |
System.Net.IPAddress | dhcpserver |
System.Net.IPAddress | dns |
System.Net.IPAddress[] | dnslist |
uint | ERROR_BUFFER_OVERFLOW |
System.Net.IPAddress[] | gatewaylist |
uint | index |
string | name |
System.Net.IPAddress | primarywins |
System.Net.IPAddress | secondarywins |
bool | winsenabled |
Constructor Summary | |
---|---|
NetworkAdapter(NetSamples.Common.Net.iphlpapi.IP_ADAPTER_INFO info) Constructor |
Property Summary | |
---|---|
System.Collections.ICollection |
Adapters
The collection of network adapters |
System.Net.IPAddress[] |
AddressList
List of addresses for this adapter |
bool |
AutoConfigActive
Is Auto Config active ? |
bool |
AutoConfigEnabled
Is Auto Config enabled ? |
System.Net.IPAddress |
CurrentAddress
Current address for the adapter |
System.Net.IPAddress |
CurrentDnsServer
Current DNS Server |
string |
Description
Description |
bool |
DhcpEnabled
Is DHCP enabled ? |
System.Net.IPAddress |
DhcpServer
DHCP Server address |
System.Net.IPAddress[] |
DnsServerList
DNS Server list |
System.Net.IPAddress[] |
GatewayList
Addresses of gateway machines |
int |
Index
Adapter index |
string |
Name
Name |
System.Net.IPAddress |
PrimaryWinsServer
Primary WINS Server address |
System.Net.IPAddress |
SecondaryWinsServer
Secondary WINS server address |
bool |
WinsEnabled
Is WINS enabled ? |
Method Summary | |
---|---|
NetSamples.Common.Net.NetworkAdapter |
Adapter(uint index) Retrieves an adapter by index number |
void |
LoadAdaptersInfo() Loads information for all the adapters |
void |
LoadPerAdapterInfo() Load additional adapter information |
Methods inherited from class System.Object |
---|
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
Field Detail |
---|
private System.Collections.Hashtable adapters
private System.Net.IPAddress address
private System.Net.IPAddress[] addresslist
private bool autoconfigactive
private bool autoconfigenabled
private string description
private bool dhcpenabled
private System.Net.IPAddress dhcpserver
private System.Net.IPAddress dns
private System.Net.IPAddress[] dnslist
public uint ERROR_BUFFER_OVERFLOW
private System.Net.IPAddress[] gatewaylist
private uint index
private string name
private System.Net.IPAddress primarywins
private System.Net.IPAddress secondarywins
private bool winsenabled
Constructor Detail |
---|
internal NetworkAdapter(NetSamples.Common.Net.iphlpapi.IP_ADAPTER_INFO info)
Constructor
Property Detail |
---|
public System.Collections.ICollection Adapters
The collection of network adapters
public System.Net.IPAddress[] AddressList
List of addresses for this adapter
public bool AutoConfigActive
Is Auto Config active ?
public bool AutoConfigEnabled
Is Auto Config enabled ?
public System.Net.IPAddress CurrentAddress
Current address for the adapter
public System.Net.IPAddress CurrentDnsServer
Current DNS Server
public string Description
Description
public bool DhcpEnabled
Is DHCP enabled ?
public System.Net.IPAddress DhcpServer
DHCP Server address
public System.Net.IPAddress[] DnsServerList
DNS Server list
public System.Net.IPAddress[] GatewayList
Addresses of gateway machines
public int Index
Adapter index
public string Name
Name
public System.Net.IPAddress PrimaryWinsServer
Primary WINS Server address
public System.Net.IPAddress SecondaryWinsServer
Secondary WINS server address
public bool WinsEnabled
Is WINS enabled ?
Method Detail |
---|
public NetSamples.Common.Net.NetworkAdapter Adapter(uint index)
Retrieves an adapter by index number
private void LoadAdaptersInfo()
Loads information for all the adapters
private void LoadPerAdapterInfo()
Load additional adapter information
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |