Unique machine id UXP

Hello,
we have an external service to handle subscriptions and we need some way to extract a unique identifier of the machine where the license key (provided by us) is activated. In CEP we used to run a shell command. We can’t seem to find a similar functionality, how do we do it in UXP?
We need this because we also give free video courses on our website to whoever is subscribed.
Thank you