If it's a full version, you have the certificate copy and the old installation has been wiped you should be OK. If on the other hand it's an OEM version then the license is tied to the machine it was installed on and it shouldn't be sold.
Surface Pro (2017) vs Surface Pro 4
20 groundbreaking 3D animation technologies coming to Siggraph 2017
iPad Pro 12.9 vs Surface Pro 5
Synology invites you to visit them at Insomnia on 26th – 29th August. Book your tickets now and visit Synology.