>How to get processor serial number
You could get it using WMI on your computer maybe. If you could is not worth the effort, go and check from setup manually or from control panel.
If you're asking it for getting on any computer then forget it. Not all processors have that option + if even had the option it's configurable in BIOS to enable/disable.
Cetin