Shahar Prish
Shahar Prish

Reputation: 4849

Is there a way to find the PackageFamilyName at runtime?

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.

Upvotes: 2

Views: 1473

Answers (1)

Caramiriel
Caramiriel

Reputation: 7257

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

Source: MSDN Forums

Upvotes: 5

Related Questions