How to discriminate if a MAC Address belongs to RJ45 Network Card or Wi-Fi...
Hi to all,
I'm parsing all the network interfaces using the following example code:
Code:
qDebug() << ni.hardwareAddress();
qDebug() << ni.name();
qDebug() << ni.index();
}
but It seems impossible to get know what is the interface.
Need help!!!
Thanks
Re: How to discriminate if a MAC Address belongs to RJ45 Network Card or Wi-Fi...
Have you tried looking at the name() of the interfaces to see if there is a useful clue? I don't think anything relying on this alone would be robust and portable but I don't know your application requirements and environment.