Mac address or Serial Disk

HI
I am looking for Mac address or Serial Disk with API in clarion

Thanks

Call API GetAdaptersInfo, retrieve IP_ADAPTER_INFO groups (list of groups), loop throu each group, its Address member is an array, 6 first bytes should be Mac address. C++ example here

Hi,

Take a look at GetDiskSerial from DevLib.
http://www.devlib.net/getdiskserial.htm

Regards

Johan de Klerk

If you have WinEvent (which you should IMHO)

DriveSN=ds_GetDriveSerialNumber(EXEDrive &’:’)

Carl
IT Mates

If you have it, look in the CHT (Clarion Handy Tools) toolkit - been there for ages

Thank you indeed, being a new subscriber of CWHANDY I found
GetHardwareDriveSerial in CLASS METHOD DESCRIPTIONS FOR: HNDDISKEX
Thanks

There’s a NetTalk function to get all sorts of networking info for each adapter int he machine, including the MAC address;
http://www.capesoft.com/docs/NetTalk10/NetTalkUtilityFunctions.htm#NetGetIPInfo