HI there
I have found the above dll that will help me try and obtain a mac address of remote machines however i cannot seem to implement it correctly. I have set the function out like this:
Private Declare Function SendARP Lib "iphlpapi.dll" (ByVal DestIP As integer, ByVal SrcIP As Integer, ByRef pMacAddr As Integer, ByRef PhyAddrLen As Integer) As Integer
The api seems to want them all as integers however i dont know how to set the ip address as an integer or how to correctly get it all to process correctly. Any help would be greatly appreciated. Also if there is a better way of obtaining mac addresses i would gladly try it.
Many Thanks
Steve
I have found the above dll that will help me try and obtain a mac address of remote machines however i cannot seem to implement it correctly. I have set the function out like this:
Private Declare Function SendARP Lib "iphlpapi.dll" (ByVal DestIP As integer, ByVal SrcIP As Integer, ByRef pMacAddr As Integer, ByRef PhyAddrLen As Integer) As Integer
The api seems to want them all as integers however i dont know how to set the ip address as an integer or how to correctly get it all to process correctly. Any help would be greatly appreciated. Also if there is a better way of obtaining mac addresses i would gladly try it.
Many Thanks
Steve