I`m writting a network monitor using Qt 4.3 library. I`m using some classes
like a QNetworkInterface QAddressEntry etc. My program runs correctly on
Unix and I get names of interface like "eth0" or "lo". But in Qt
documentation there is a description:
"QString QNetworkInterface::name () const
Returns the name of this network interface. On Unix systems, this is a
string containing the type of the interface and optionally a sequence
number, such as "eth0", "lo" or "pcn0". On Windows, it's an internal ID
that cannot be changed by the user."
I was searching in web about this ID and i realised that it is GUID. In my
Windows XP registry I found this numbers and there are names of interfaces.
My question is: How can I get name of network connection when i have its
GUID ? I was looking at MSDN but i didn`t find nothing :( (something like a
readFromGuid or class GUID, or whatever).