I want to Identify a Mac based on Hardware ID.I have seen this
https://developer.apple.com/library/content/technotes/tn1103/_index.html
It gives mainly 2 approaches
1 -Using S/N: But it seems this might not be supported in future Machines
2 -Using MAC ID: I don't know if this is reliable
Could you please suggest the best way and provide me some sample code in SWIFT to start with.Almost all examples are in Objective C. I'm new to SWIFT as well.