License Questions

How do licenses for Painter work? If I buy a Painter license for Mac now but later upgrade to a new PC with Windows will I be able to use the same license or would I have to buy a new one?