Extract information in Bentley Microstation design file

Not sure if this is the right place to ask.

How can i extract information in design file to a text file?

The information involves all the elements in the file with its properties.

I need to extract these information, without opening the file in Bentley Microstation.

Is there any library available that i can use for achieving this programmatically using DotNet.