Gerald, software cannot verify sensor used.
Dahua does specify an Aptina sensor for this model. Why do you care about verifying that?
Even if you could verify it was an Aptina sensor and not say Omnivision or Sony, you still might not know which Aptina sensor it was (and that's important because there are many Aptina sensors).
I'm curious why you care?
I know that most people consider the Aptina sensors to be among the best in the latest generation of sensors, but there is so much more to a camera than just the sensor. Many other factors (ISP, compression, etc.) could affect the image quality greatly.
Aptina (or now, OnSemi) also has more than just 1 model of image sensor, so even if it has an Aptina sensor, the next question is "which one" (which I've never seen any manufacturer specify).
Sure, but why stop at the image sensor?
You stop at the image sensor if it is not Aptina. Then you have learned you can't trust them.