1. Technology

MAC Spoof

Fancy Delphi Application Contest Entry #8 by Bruce Raisley


MAC Spoof - Fancy Delphi Application Contest Entry #8

MAC Spoof - Fancy Delphi Application Contest Entry #8

Need to change the MAC adress of a network card? Here's a handly little tool that allows spoofing - changing the MAC address on your network card. Mac Spoof will reset the NIC when done to prevent requiring the user to reboot.

A great idea for the Fancy Delphi Application Contest ;-)

Rate this FDAC Entry!

Network Card MAC Spoofing

Here are some ideas for why and when to use this handy little Delphi application
  • Resolve hardware conflicts when identical MACs are located on a network.
  • Increase privacy when surfing on public networks.
  • Programmatically turn on or off different network cards on a work station or server.
  • Verify the existence of a valid network card.

To compile the application you'll need to add the TNetSharingManager component. To add the component TNetSharingManager to the IDE select the menu item Project -> Import Type Library on the "Import Type Library" dialog click on add then select and add the file C:\WINDOWS\system32\hnetcfg.dll, then click on install.

The component can be added to any packaged you chose, I added it to dclusr.dpk

For more instructions on adding a Type Library see An Introduction to COM Programming with Delphi - Type Libraries

"MAC Spoof" was submitted by Bruce Raisley.

Do you have a FDA(C)? Submit your Delphi code to the Fancy Delphi Application Contest.

©2014 About.com. All rights reserved.