How to remotely get Cisco router serial number?

Environment : Cisco router 3845
Objective: get serial number of router remotely

Steps:

You can use one of the following commands to get Cisco Processer id/Chassis serial numer:

show snmp (Chassis)
show ver  (Processor board ID)
show diag | include Chassis
show inventory (Chassis SN which should be the first one)

note:  related commands:

snmpget -v1 -c communitystring IP mib-2.47.1.1.1.1.11.1
snmp-server chassis-id string (conf t first)