How do i get the unique information about the external USB devices in Embedded Linux?

HI All,

I need to check the connected USB device is as same as the previously connected or not.
Hence i need to get the unique information about the Connected devices in my program(C langauge)
How do i do?
Please help me in this regard.

Geek Guide
The DevOps Toolbox

Tools and Technologies for Scale and Reliability
by Linux Journal Editor Bill Childers

Get your free copy today

Sponsored by IBM

Webcast
8 Signs You're Beyond Cron

Scheduling Crontabs With an Enterprise Scheduler
On Demand
Moderated by Linux Journal Contributor Mike Diehl

Sign up and watch now

Sponsored by Skybot