It depends on what algorithm the manager software uses to detect the device.
The snmpd sample in #SNMP can be discovered by the corresponding snmpdiscover sample, which demonstrates a common approach to detect SNMP agents over IPv4. However, not all manager software uses the same approach. The SNMP RFC documents do not define an official way.