MacConvert Method

static eth32cfg_mac MacConvert(string macstring)

Summary

This method converts a string representation of a MAC address into the eth32cfg_mac binary representation of a MAC address. If the string doesn't contain a valid MAC address, an EthError.InvalidOther error will be raised.

Parameters

  • macstring - The MAC address string to be converted.

Return Value

This method returns an eth32cfg_mac structure with the converted MAC address.

See Also

MacConvertToString Method