Class MACAddress
Inheritance
System.Object
MACAddress
Assembly: Cosmos.HAL2.dll
Syntax
public class MACAddress : IComparable
Constructors
|
Improve this Doc
View Source
MACAddress(MACAddress)
Declaration
public MACAddress(MACAddress m)
Parameters
|
Improve this Doc
View Source
MACAddress(Byte[])
Declaration
public MACAddress(byte[] address)
Parameters
Type |
Name |
Description |
System.Byte[] |
address |
|
|
Improve this Doc
View Source
MACAddress(Byte[], Int32)
Create a MAC address from a byte buffer starting at the specified offset
Declaration
public MACAddress(byte[] buffer, int offset)
Parameters
Type |
Name |
Description |
System.Byte[] |
buffer |
byte buffer
|
System.Int32 |
offset |
offset in buffer to start from
|
Fields
|
Improve this Doc
View Source
Broadcast
Declaration
public static MACAddress Broadcast
Field Value
|
Improve this Doc
View Source
bytes
Declaration
Field Value
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
None
Declaration
public static MACAddress None
Field Value
Methods
|
Improve this Doc
View Source
CompareTo(Object)
Declaration
public int CompareTo(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IsValid()
Declaration
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ToNumber()
Declaration
Returns
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|