Mac Address Lock

The Mac Address Lock restricts the use of the protected software to a machine mounted with a designated Network Interface Card.

Mac Address Lock Validation

During license validation Agile.net searches all NICs (Network Interface Card) available on the host machine for one with matching MAC address. The MAC address lock is used to restrict the usage of the protected software to a single machine by validating the MAC address set during license creation is available on the target machine, if no matching device is found license validation fails.

Before you create a license with a Mac Address lock you will have to obtain the NIC's MAC address installed on the target machine. This information can be obtained easily by running 'ipconfig /all' from the command prompt, the command will list all available NICs on the target machine.

Following is an example of the command's output:

Ethernet adapter Local Area Connection:

Description . . . . . . . . . . . : Intel(R) 82566DM Gigabit Network Connection
Physical Address. . . . . . . . . : 00-22-D1-60-54-D0
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 121.11.118.118
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 121.11.118.254
DHCP Server . . . . . . . . . . . : 121.11.118.16
DNS Servers . . . . . . . . . . . : 121.11.118.193 121.11.118.196 121.11.118.21
Primary WINS Server . . . . . . . : 44.202.20.13
Secondary WINS Server . . . . . . : 44.202.8.10
Lease Obtained. . . . . . . . . . : Sunday, September 12, 2010 9:44:31 AM Lease Expires . . . . . . . . . . : Monday, September 13, 2010 9:44:31 AM

The NIC's MAC address in the example above is 00-22-D1-60-54-D0.

Programmatically checking for MAC address Lock in code

To display the MAC address set by the lock use the MacAddressLock.MacAddress property, the address is returned in the following format: xx-xx-xx-xx-xx-xx. You may use this property to display information about the address in custom forms.