Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Getting Network Interface name from GUID

108 views
Skip to first unread message

Bartosz "Doleś"

unread,
Jun 15, 2008, 5:58:46 PM6/15/08
to
Hi all,
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).

Thanks for help, regards
Bartek

Thorsten Albers

unread,
Jun 15, 2008, 7:00:30 PM6/15/08
to
Doleś Dolewski <dol...@gmail.com> schrieb im Beitrag
<g3434u$4m$1...@atlantis.news.neostrada.pl>...

> 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:

Are you sure that your program is written in >>VB 6.0<<? I've never heard
of an implementation of the QT libraries for VB 6.0...

--
----------------------------------------------------------------------
Thorsten Albers albers(a)uni-freiburg.de
----------------------------------------------------------------------

0 new messages