getting current package name

Is there a way to get the current package name in WM 7.1 ?
I see some code snipplets from other forums - but the codes don’t work for 7.1…

I second this request for updated information.