How to get file name of active configuration?

Hello Guys!

Can someone help me, I`m curious how to get a file name for the active configuration?

So far I have:

swApp = CType(Runtime.InteropServices.Marshal.GetActiveObject("SldWorks.Application"), SldWorks.SldWorks)

swPartModel = swApp.OpenDoc6(_file, swDocumentTypes_e.swDocPART, swOpenDocOptions_e.swOpenDocOptions_LoadModel, "", fileerror, filewarning)

swApp.ActivateDoc2(_file, True, fileerror)

swPartModel = swApp.ActiveDoc

swConfig = swPartModel.GetActiveConfiguration

I need to get the name see below:

Thank you.

SolidworksApi macros