I have a client application that needs to talk to a server. I am using UDP through Winsock to pass the Client IP address so the Server can then talk directly using TCPIP to the client.

I need to uniquely identify the client machine and thought that using the MAC address would provide a unique tag for the server.

How do I read the MAC address from my network card using VB6 ?

Thanks in advance for you help.

don't know about VB but here's a c solution

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.