Utility function to print a MAC address (binary string of 6 byte length.
Namespace: SnmpSharpNetAssembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.9.1.0 (0.9.1)
Syntax
| C# |
|---|
public string ToMACAddressString() |
| Visual Basic |
|---|
Public Function ToMACAddressString As String |
| Visual C++ |
|---|
public:
String^ ToMACAddressString() |
Return Value
If data is of the correct length (6 bytes), string representing hex mac address in the
format xxxx.xxxx.xxxx. If data is not of the correct length, empty string is returned.
See Also