![]() ![]() If you want strong authentication from machine side, you can use certificate based authentication. Thus it is not suitable for machine identification. MAC address is not guaranteed to be unique, and it can be changed. than nothing will give you a solution working for every client. Hosts outside your L2 perimeters can not be queried for their MAC with common tools, so if you don't have access read their configuration remotely (WMI, SNMP.), or they are different dumb devices, or. If (SendARP(intAddress, 0, macAddr, ref macAddrLen) != 0) Uint macAddrLen = ( uint) macAddr.Length Int intAddress = BitConverter.ToInt32(address.GetAddressBytes(), 0) Public static string getMAC(IPAddress address) ![]() Public static extern int SendARP( int DestIP, int SrcIP, byte pMacAddr, ref uint PhyAddrLen) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |