2.2.2.2.3 HomeGroup MAC Address
HomeGroup MAC Address messages are used to broadcast the MAC addresses of all network adapters present in a homegroup member machine to all other members of the homegroup.
HomeGroup MAC Address messages are sent in the HomeGroup Record format (section 2.2.2.2), where the following elements are specified:
The value of the <RECORDSOURCE> element is set to {A7BC622E-8238-4E38-9C88-34153B7D9AB1}.
The value of the <PERSIST> element is set to 0.
The <HOMEGROUP_DATA> element is populated with the HomeGroup MAC Address message content in the following manner:
-
<?xml version="1.0" encoding="utf-8"?> <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xs:element name="HOMEGROUP_RECORD"> <xs:complexType> <xs:sequence> <xs:element name="MACADDRESSES" type="xs:string" minOccurs="1" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true"> <xs:complexType> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element ref="HOMEGROUP_RECORD" /> </xs:choice> </xs:complexType> </xs:element> </xs:schema>
MACADDRESSES: This element contains the MAC addresses of all of the network cards on the machine. It is a string of binaryized 6-byte MAC addresses, which consists of two terminating NULL characters. Each MAC address is a binary string that contains a terminating NULL character. The last MAC address is followed by a double NULL. The resulting string is Base64 encoded with beginning and ending certificate headers as described in [RFC3548].