Get the active configuration is changed or not?

I am searching for the API which can give the active configuration is changed or not in SolidWorks (in C#). Currently, when I switch from SolidWorks to my addon need to do the body comparisons in part to get the changes in configurations. This takes more time.   

Thanks

Laxman

SolidworksApi/macros