This is the standard method. If you have an internet connection, the software verifies the key instantly.
If you registered your product, log in to Adobe.com, go to Account , and look under Products or Plans to see your registered serial numbers. adobe indesign cs6 serial number validation
A Windows serial number will not work on a macOS installation, and vice versa. This is the standard method