Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Win API / June 2008



Tip: Looking for answers? Try searching our database.

Getting Network Interface name from GUID

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bartosz "Doleś" Dolewski - 15 Jun 2008 22:55 GMT
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 - 16 Jun 2008 00:00 GMT
DoleÅ› Dolewski <doles2@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...

Signature

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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.