Get a selected Assets correct path name

Hi,

I was wondering if anyone knows a way on how to get the correct path name of a selected asset.

Just the same path as shown above but than achieved during runtime with c++ code.