“Undefined” means you don’t have a legal license. It’s not legal if you didn’t pay for it.
(exception - an evaluation license, but then the license type will say “evaluation” and tell you how much time is left before it expires)
Copying the program from a friend is not paying for a legal license.