NT MAC Address: Get the MAC address of a LAN client or server PC

Recommend this page to a friend!

  Author Author  
Picture of Andrea Giammarchi
Name: Andrea Giammarchi <contact>
Classes: 17 packages by
Country: Italy Italy
Age: 43
All time rank: 192 in Italy Italy
Week rank: 288 Down15 in Italy Italy Down
Innovation award
Innovation award
Nominee: 5x

  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class is meant to retrieve the MAC address associated to a network card of a computer in the same local network.

This class works only under Windows 2000 or later and can retrieve the MAC address of either the network card associated to the IP address of the current Web server or the client accessing to it.

The class does not return anything if the server is running on the loopback addreess (localhost or 127.0.0.x) as it is not associated to a network card.

  Classes of Andrea Giammarchi  >  NT MAC Address  >  Download Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: NT MAC Address
Base name: ntmacaddress
Description: Get the MAC address of a LAN client or server PC
Version: 1.0.0
PHP version: -
License: GNU General Public License (GPL)
All time users: 6806 users
All time rank: 295
Week users: 1 user
Week rank: 267 Up
  Groups   Rate classes User ratings   Applications   Files Files  

Group folder image Networking Networking protocols, clients and servers View top rated classes
Group folder image Windows Use of capabilities specific of the Windows operating systems View top rated classes

  Innovation Award  
PHP Programming Innovation award nominee
November 2004
Number 6

Prize: One downloadable copy of Komodo Pro
Network card MAC addresses are often used as unique values specific to the machine onto which a given application is installed. These unique values are used for instance to bind per machine software licenses using the MAC address as key to grant access to protected code only on that machine.

Currently there is no solution based on a built-in PHP module that lets you retrieve the MAC address of a given network card.

This class provides a solution that resorts to an external Windows utility. Despite it is Windows specific, it provides a way that works under Windows platforms and be useful for the intended purposes.

Manuel Lemos

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Sufficient (72%) Sufficient (70%) - - - - Not sure (43%) 2878
Month: Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Plain text file NtMacAddress.class.php Class Core class

Install with Composer Install with Composer - Download Download all files: ntmacaddress.tar.gz ntmacaddress.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
For more information send a message to info at phpclasses dot org.