Using MAC addressed for security purposes is not a good idea: they aren't unique, just unique on a particular segment and are very easily spoofed.
Plus, you aren't fetching the MAC address for the network adapter in that machine! See here:
Retrieving IP and MAC addresses for a LAN[
^] - there is a method in there to get the current PC MAC (it's in C#, but it's pretty obvious code).
But it won't work well as a security measure!