The 25 digit code has not been on computers for years stop pirating. The code is stored in the system BIOS. When the code is needed, such as foe upgrading the OS, it is automatically accessed. You can get the code using a variety of utilities. Belarc Advisor is a good one.
I'm not exactly sure how asking how to get MY product key from MY laptop is pirating but thanks for the info anyway. This is the first new laptop I have purchased is several year so please forgive my ignorance.
If you are downloading Windows 10 after downloading the ISO image and failed to note down the product or serial key then here are two working approved serial keys which could assist you in downloading the Windows 10 ISO in your Windows PC/laptop.
Windows 10 Product Code and Serial Key: Enter the below-mentioned Windows 10 product code and serial key of technical preview version which are common for all and accepted by the Microsoft.
Windows 10 Serial Key: NKJFK-GPHP7-G8C3J-P6JXR-HQRJR
Alternate [Working*] : VK7JG-NPHTM-C97JM-9MPGT-3V66T
Windows 10 Serial Key Technical Preview for Consumer: 334NH-RXG76-64THK-C7CKG-D3VPT
Technical Preview for Enterprise: PBHCJ-Q2NYD-2PX34-T2TD6-233PK
Windows 10 Home: KTNPV-KTRK4-3RRR8-39X6W-W44T3
Windows 10 Pro Edition: VK7JG-NPHTM-C97JM-9MPGT-3V66T
Windows 10 Enterprise: CKFK9-QNGF2-D34FM-99QX2-8XC4K
Pirating is someone reading the code on the ID tag on the older computers and trying to use it to validate an OS installation that is not legal - not purchased.