2

Is there a way to figure out the PackageFamilyName (as appearing in the manifest) in runtime? I looked in /Program Files/WindowsApps and could not find the relevant string there. Could not find any API that would let me do this...

Any other ideas are welcome.

devhammer
  • 1,384
  • 1
  • 8
  • 15
Shahar Prish
  • 4,838
  • 3
  • 26
  • 47
  • 1
    Are you looking for [Package.Current.Id.FamilyName](http://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.packageid.familyname.ASPx)? I'm not familiar with the WinRT-framework. – Caramiriel Mar 11 '13 at 07:40
  • Yes. MSDN blindness - kept looking for the full string (PackageFamilyName)... Can you add this as an answer so I can mark it as such? – Shahar Prish Mar 11 '13 at 08:00

1 Answers1

5

I think what you're looking for is PackageId.FamilyName which is available through the Package.Current.Id.FamilyName property.

Source: MSDN Forums

Caramiriel
  • 7,029
  • 3
  • 30
  • 50