How to get MAC network address?

Hey people, I asked this question on Answerhub (How to get MAC network address? - Multiplayer & Networking - Unreal Engine Forums).

I would like to get the Physical Network Address (aka MAC address) of a computer at runtime in order to compare with a predefined address to run my game on a very specific computer… if the address don’t match, then the game closes before starting it.

But if anyone have a suggestion on how to run a game on a very specific computer, I would appreciate the information!

Thanks!

Ok, that was quick…

Don’t know why I didn’t find this function here!

Thanks Shadowriver!

If you’re thinking of fingerprinting a system with just the MAC address, I suggest throwing in the CPU at least too. It is likely for a system to have several NICs, but IDing the CPU should be as stable and give you another reference point.