Solidworks Missing Part Identification Query

Hi i am trying to write a program that automatically finds Assemblies with missing parts in a directory search using C#. But what i am having trouble with is how does solidwork know if a part is missing in an assembly. Where does it store the error data? Please Help.

SolidworksAssemblies