i need to create a signature using combination of ipv4 address, mac address, PC-Name, UserName
this signature will be unique for every pc offcourse
is there any way i can do that in c++ cli?
Several flaws in the thought process:
1. IP Address is only unique within a local network segment or subnet.
2. MAC address may only be unique up to a router, and can be changed or spoofed.
3. PC-Name can be changed
4. UserName can only identify a user, and not the machine in use.
i can get ipv4 address mac address username pc name
but can't think of any way to generate a unique signature from all this info that can uniquely identify a pc
If you are satisfied that your flawed premises from above are accepatble, you could create your
signature by using a
Hash
function such as the
Message Digest suite (MD2, MD4, MD5) or a
Secure Hash Algorithm (SHA1, SHA2)