메소드 | 설명 | |
---|---|---|
Clone ( ) : |
Create a new object that is a duplicate of the current object.
|
|
EthernetAddress ( ) : System |
Constructor. Initialize the class to 0000.0000.0000
|
|
EthernetAddress ( |
Constructor. Initialize the class with the value from the argument class.
|
|
EthernetAddress ( OctetString second ) : System |
Constructor. Initialize the class with the value from the OctetString argument.
|
|
EthernetAddress ( byte data ) : System |
Constructor. Initialize the class with the value of the byte array.
|
|
Set ( System value ) : void |
Parses hex string representing an Ethernet MAC address to the enternal format. Ethernet address has to contain 12 hex characters (1-9 or A-F) to be parsed correctly. Special formatting is ignored so both 0000.0010.0000 and 00-00-00-10-00-00 will be parsed ok.
|
|
ToString ( ) : System.String |
Return Ethernet MAC address as a string formatted as: xxxx.xxxx.xxxx
|
public EthernetAddress ( |
||
second | Class whose value is copied to initialize this class. /// | |
리턴 | System |
public EthernetAddress ( OctetString second ) : System | ||
second | OctetString | Class whose value is used to initialize this class. /// |
리턴 | System |
public EthernetAddress ( byte data ) : System | ||
data | byte | Byte array whose value is used to initialize the class. /// |
리턴 | System |
public Set ( System value ) : void | ||
value | System | Ethernet address represented as a string. /// |
리턴 | void |