What is the best way to make sure my theme is only used on one site?

Example,

if I'm selling my theme on themeforest and I want to limit a buyer to be able to use the theme only on one domain. What can I do to make sure my theme is not used on many domains or even shared for free on forums?

Thanks