[V8i MDL C#] How to get the name of the current specification

Hi everyone,

I need to get the name of the current specification in project Bentley OpenPlant Modeler V8i (see Figure).

Now I can get a path of project Specs Databases

string specsDBDirPath = Bentley.Plant.Utilities.WorkspaceUtilities.GetConfigVar("OPM_DIR_SPECS");

But how to determine programmatically which specification is currently used in the project (for example, _Test_Spec on the picture)?

Regards, Vitaliy