1. Home
  2. Computing & Technology
  3. Delphi Programming

MAC Spoof
Fancy Delphi Application Contest Entry #8 by Bruce Raisley

By Zarko Gajic, About.com

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.

Zarko Gajic
Guide since 1998

Zarko Gajic
Delphi Programming Guide

Explore Delphi Programming
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Delphi Programming
  4. Source Code Projects
  5. MAC Spoof - Fancy Delphi Application Contest Entry #8

©2009 About.com, a part of The New York Times Company.

All rights reserved.