G
Guest
Is there equivalent of sscanf function in .NET?
I need to parse string with network MAC address (For example like
11-22-33-44-55-66) and extract each segment into array of bytes.
Can anyone advise what method/class I can use for that?
I've figured out how to parse IP address: IPAddress.Parse(hostName), but
can't find easy way to parse MAC address.
Thanks
I need to parse string with network MAC address (For example like
11-22-33-44-55-66) and extract each segment into array of bytes.
Can anyone advise what method/class I can use for that?
I've figured out how to parse IP address: IPAddress.Parse(hostName), but
can't find easy way to parse MAC address.
Thanks