Retrieve Licence Info

I’ve just purchased a used Apple TV which has ATV Flash installed. At the moment the Apple TV is running v2 software and ATV is 4.0.1.

I would like to upgrade to v3 but this will require an update and reinstall of ATV Flash. As I haven’t been given the serial number, is there anyway of retrieving this from the Apple TV?

Any help much appreciated.