프로퍼티 | 타입 | 설명 | |
---|---|---|---|
DefaultIPv4Gateway | string | ||
DefaultIPv4GatewayMac | string | ||
Description | string | ||
DhcpServer | string | ||
Dhcpv4Enabled | Dhcp | ||
Dhcpv6Server | string | ||
Guid | System.Guid | ||
IPv4Address | List |
||
IPv4BytesReceived | System.Int64 | ||
IPv4BytesSent | System.Int64 | ||
IPv4DnsServer | List |
||
IPv4Enabled | bool | ||
IPv4Gateway | List |
||
IPv4InSpeed | double | ||
IPv4InSpeedAvg10 | double | ||
IPv4InSpeedAvg20 | double | ||
IPv4InSpeedAvg40 | double | ||
IPv4Mtu | string | ||
IPv4OutSpeed | double | ||
IPv4OutSpeedAvg10 | double | ||
IPv4OutSpeedAvg20 | double | ||
IPv4OutSpeedAvg40 | double | ||
IPv6Address | IPv6HostAddress | ||
IPv6DnsServer | List |
||
IPv6Enabled | bool | ||
IPv6Gateway | List |
||
IPv6Mtu | string | ||
IPv6RouterDiscoveryEnabled | bool | ||
Index | int | ||
InterfaceMetric | ushort | ||
LocalIPv4Exit | string | ||
Loopback | NetworkInterface | ||
Mac | string | ||
Name | string | ||
NetbiosEnabled | Netbios | ||
PublicIPv4 | string | ||
PublicIPv6 | string | ||
Type | AdapterType | ||
networkInterface |
메소드 | 설명 | |
---|---|---|
AddIPv4Address ( string ip, string mask ) : void | ||
AddIPv4Address ( string name, string ip, string mask ) : void | ||
AddIPv4DnsServer ( string dns ) : void | ||
AddIPv4DnsServer ( string name, string dns ) : void | ||
AddIPv4Gateway ( int index, string gateway, string metric ) : void |
Vista and above only
|
|
AddIPv4Gateway ( string gateway, string metric ) : void | ||
AddIPv4Gateway ( string mac, string gateway, string metric ) : void |
XP only
|
|
AddIPv6Address ( int index, string ip, string prefix ) : void |
Vista and above only
|
|
AddIPv6Address ( string ip, string prefix ) : void |
Vista and above only
|
|
AddIPv6DnsServer ( int index, string dns ) : void |
Vista and above only
|
|
AddIPv6DnsServer ( string dns ) : void |
Vista and above only
|
|
AddIPv6Gateway ( int index, string gateway, string metric ) : void |
Vista and above only
|
|
AddIPv6Gateway ( string gateway, string metric ) : void |
Vista and above only
|
|
CheckDefaultIPv4Gateway ( ) : bool |
Checks if the default gateway replies to an ARP request
|
|
CheckIfIPv4Used ( string ip, System.Guid excludedGuid = newGuid() ) : string | ||
ClearGateways ( ) : void |
IPv4 and IPv6
|
|
ClearGateways ( int index ) : void | ||
ClearGateways ( string mac ) : void |
IPv4 and IPv6 IT APPEARS THAT IS NOT WORKING
|
|
ClearIPv4Addresses ( string mac, string ip, string mask ) : void |
Enables static TCP/IPv4 addressing for the target network adapter clearing any existing IPv4 address configurations. As a result, DHCP for this network adapter is disabled.
|
|
ClearIPv4DnsServers ( ) : void |
IPv4 only
|
|
ClearIPv4DnsServers ( string mac ) : void |
IPv4 only
|
|
DeleteIPv4Address ( string ip, string mask ) : void | ||
DeleteIPv4Address ( string name, string ip, string mask ) : void | ||
DeleteIPv4DnsServer ( string dns ) : void | ||
DeleteIPv4DnsServer ( string name, string dns ) : void | ||
DeleteIPv4Gateway ( int index, string gateway ) : void |
Vista and above only
|
|
DeleteIPv4Gateway ( string gateway ) : void | ||
DeleteIPv4Gateway ( string mac, string gateway ) : void |
XP only
|
|
DeleteIPv6Address ( int index, string ip ) : void |
Vista and above only
|
|
DeleteIPv6Address ( string ip ) : void |
Vista and above only
|
|
DeleteIPv6DnsServer ( int index, string dns ) : void |
Vista and above only
|
|
DeleteIPv6DnsServer ( string dns ) : void |
Vista and above only
|
|
DeleteIPv6Gateway ( int index, string gateway ) : void |
Vista and above only
|
|
DeleteIPv6Gateway ( string gateway ) : void |
Vista and above only
|
|
EditIPv4Gateway ( int index, string gateway, string metric ) : void |
Vista and above only
|
|
EditIPv4Gateway ( string gateway, string metric ) : void | ||
EditIPv4Gateway ( string mac, string gateway, string metric ) : void |
XP only
|
|
EditIPv6Gateway ( int index, string gateway, string metric ) : void |
Vista and above only
|
|
EditIPv6Gateway ( string gateway, string metric ) : void |
Vista and above only
|
|
GetAdapterStatus ( string friendlyName ) : Status | ||
GetAll ( Action |
||
GetInterfaceMetric ( string ipAddress, string subnet ) : ushort |
Win32_NetworkAdapterConfiguration
|
|
GetInterfaceMetric ( ) : void |
Win32_NetworkAdapterConfiguration
|
|
GetInternetInterface ( ) : string | ||
GetPublicIP ( ) : void | ||
GetStatistics ( ) : void | ||
Netsh ( ) : |
||
SetDhcp ( int enabled ) : void | ||
SetDhcp ( string name, int enabled ) : void | ||
SetIPv4Address ( string ip, string mask ) : void | ||
SetIPv4Address ( string name, string ip, string mask ) : void | ||
SetIPv4DnsServer ( string dns ) : void | ||
SetIPv4DnsServer ( string name, string dns ) : void | ||
SetIPv4Mtu ( int index, string mtu ) : void |
Vista and above only
|
|
SetIPv4Mtu ( string mtu ) : void |
Vista and above only
|
|
SetIPv6Mtu ( int index, string mtu ) : void |
Vista and above only
|
|
SetIPv6Mtu ( string mtu ) : void |
Vista and above only
|
|
SetInterfaceMetric ( int index, string metric ) : void |
Vista and above only
|
|
SetInterfaceMetric ( string metric ) : void | ||
SetInterfaceMetric ( string mac, string metric ) : void |
XP only
|
|
SetNetBios ( System.Guid guid, bool enabled ) : void | ||
SetNetBios ( bool enabled ) : void | ||
SetRouterDiscovery ( bool enabled ) : void |
Vista and above only
|
|
SetRouterDiscovery ( int index, bool enabled ) : void |
Vista and above only
|
public AddIPv4Address ( string ip, string mask ) : void | ||
ip | string | |
mask | string | |
리턴 | void |
public static AddIPv4Address ( string name, string ip, string mask ) : void | ||
name | string | |
ip | string | |
mask | string | |
리턴 | void |
public static AddIPv4DnsServer ( string name, string dns ) : void | ||
name | string | |
dns | string | |
리턴 | void |
public static AddIPv4Gateway ( int index, string gateway, string metric ) : void | ||
index | int | |
gateway | string | |
metric | string | |
리턴 | void |
public AddIPv4Gateway ( string gateway, string metric ) : void | ||
gateway | string | |
metric | string | |
리턴 | void |
public static AddIPv4Gateway ( string mac, string gateway, string metric ) : void | ||
mac | string | |
gateway | string | |
metric | string | |
리턴 | void |
public static AddIPv6Address ( int index, string ip, string prefix ) : void | ||
index | int | |
ip | string | |
prefix | string | |
리턴 | void |
public AddIPv6Address ( string ip, string prefix ) : void | ||
ip | string | |
prefix | string | |
리턴 | void |
public static AddIPv6DnsServer ( int index, string dns ) : void | ||
index | int | |
dns | string | |
리턴 | void |
public static AddIPv6Gateway ( int index, string gateway, string metric ) : void | ||
index | int | |
gateway | string | |
metric | string | |
리턴 | void |
public AddIPv6Gateway ( string gateway, string metric ) : void | ||
gateway | string | |
metric | string | |
리턴 | void |
public static CheckIfIPv4Used ( string ip, System.Guid excludedGuid = newGuid() ) : string | ||
ip | string | |
excludedGuid | System.Guid | |
리턴 | string |
public static ClearIPv4Addresses ( string mac, string ip, string mask ) : void | ||
mac | string | |
ip | string | The IPv4 address that will replace an exisiting configurations |
mask | string | The IPv4 mask that will replace an exisiting configurations |
리턴 | void |
public static ClearIPv4DnsServers ( string mac ) : void | ||
mac | string | |
리턴 | void |
public DeleteIPv4Address ( string ip, string mask ) : void | ||
ip | string | |
mask | string | |
리턴 | void |
public static DeleteIPv4Address ( string name, string ip, string mask ) : void | ||
name | string | |
ip | string | |
mask | string | |
리턴 | void |
public static DeleteIPv4DnsServer ( string name, string dns ) : void | ||
name | string | |
dns | string | |
리턴 | void |
public static DeleteIPv4Gateway ( int index, string gateway ) : void | ||
index | int | |
gateway | string | |
리턴 | void |
public DeleteIPv4Gateway ( string gateway ) : void | ||
gateway | string | |
리턴 | void |
public static DeleteIPv4Gateway ( string mac, string gateway ) : void | ||
mac | string | |
gateway | string | |
리턴 | void |
public static DeleteIPv6Address ( int index, string ip ) : void | ||
index | int | |
ip | string | |
리턴 | void |
public static DeleteIPv6DnsServer ( int index, string dns ) : void | ||
index | int | |
dns | string | |
리턴 | void |
public static DeleteIPv6Gateway ( int index, string gateway ) : void | ||
index | int | |
gateway | string | |
리턴 | void |
public DeleteIPv6Gateway ( string gateway ) : void | ||
gateway | string | |
리턴 | void |
public static EditIPv4Gateway ( int index, string gateway, string metric ) : void | ||
index | int | |
gateway | string | |
metric | string | |
리턴 | void |
public EditIPv4Gateway ( string gateway, string metric ) : void | ||
gateway | string | |
metric | string | |
리턴 | void |
public static EditIPv4Gateway ( string mac, string gateway, string metric ) : void | ||
mac | string | |
gateway | string | |
metric | string | |
리턴 | void |
public static EditIPv6Gateway ( int index, string gateway, string metric ) : void | ||
index | int | |
gateway | string | |
metric | string | |
리턴 | void |
public EditIPv6Gateway ( string gateway, string metric ) : void | ||
gateway | string | |
metric | string | |
리턴 | void |
public static GetAdapterStatus ( string friendlyName ) : Status | ||
friendlyName | string | |
리턴 | Status |
public static GetAll ( Action |
||
UpdateStatus | Action |
|
리턴 | NetworkInterface>.ConcurrentDictionary |
public static GetInterfaceMetric ( string ipAddress, string subnet ) : ushort | ||
ipAddress | string | IPv4 or IPv6 |
subnet | string | Dot-decimal-notation for IPv4 (i.e. "255.255.255.0") and CIDR for IPv6 (i.e. "64") |
리턴 | ushort |
public static SetDhcp ( string name, int enabled ) : void | ||
name | string | |
enabled | int | |
리턴 | void |
public SetIPv4Address ( string ip, string mask ) : void | ||
ip | string | |
mask | string | |
리턴 | void |
public static SetIPv4Address ( string name, string ip, string mask ) : void | ||
name | string | |
ip | string | |
mask | string | |
리턴 | void |
public static SetIPv4DnsServer ( string name, string dns ) : void | ||
name | string | |
dns | string | |
리턴 | void |
public static SetIPv4Mtu ( int index, string mtu ) : void | ||
index | int | |
mtu | string | |
리턴 | void |
public static SetIPv6Mtu ( int index, string mtu ) : void | ||
index | int | |
mtu | string | |
리턴 | void |
public static SetInterfaceMetric ( int index, string metric ) : void | ||
index | int | |
metric | string | |
리턴 | void |
public SetInterfaceMetric ( string metric ) : void | ||
metric | string | |
리턴 | void |
public static SetInterfaceMetric ( string mac, string metric ) : void | ||
mac | string | |
metric | string | |
리턴 | void |
public static SetNetBios ( System.Guid guid, bool enabled ) : void | ||
guid | System.Guid | |
enabled | bool | |
리턴 | void |
public static SetRouterDiscovery ( int index, bool enabled ) : void | ||
index | int | |
enabled | bool | |
리턴 | void |