Метод | Описание | |
---|---|---|
GetAllDevicesOnLAN ( ) : PhysicalAddress>.Dictionary |
Get the IP and MAC addresses of all known devices on the LAN 1) This table is not updated often - it can take some human-scale time to notice that a device has dropped off the network, or a new device has connected. 2) This discards non-local devices if they are found - these are multicast and can be discarded by IP address range. |
|
GetIPAddress ( ) : |
Gets the IP address of the current PC
|
|
GetMacAddress ( ) : System.Net.NetworkInformation.PhysicalAddress |
Gets the MAC address of the current PC.
|
|
IsMulticast ( |
Returns true if the specified IP address is a multicast address
|
Метод | Описание | |
---|---|---|
GetIpNetTable ( |
public static GetAllDevicesOnLAN ( ) : PhysicalAddress>.Dictionary |
||
Результат | PhysicalAddress>.Dictionary |
public static GetIPAddress ( ) : |
||
Результат |
public static GetMacAddress ( ) : System.Net.NetworkInformation.PhysicalAddress | ||
Результат | System.Net.NetworkInformation.PhysicalAddress |
public static IsMulticast ( |
||
ip | ||
Результат | bool |