API c# get module list, field, and field type, and etc

API c# get module list, field, and field type, and etc

how to extract all of the modules, field names, and etc.?
I do not need to know the data. just the module strcture