PDA

View Full Version : Get MAC Address and LAN IP QtNetWork ?????



Thành Viên Mới
7th June 2011, 18:13
can you help me get mac address and lan IP ????

ars
7th June 2011, 19:40
Have a look at class QNetworkInterface. hardwareAddress () will give you the MAC address of the interface (in case it's an Ethernet interface).