Accessing serial number

A similar query was addressed in the link given below. I will check this.

If there is an alternate approach, please share.