AppUriHandlerRegistrationManager.PackageFamilyName Property


Gets the package family name for the app originally specified when creating the AppUriHandlerRegistrationManager object.

 property Platform::String ^ PackageFamilyName { Platform::String ^ get(); };
winrt::hstring PackageFamilyName();
public string PackageFamilyName { get; }
var string = appUriHandlerRegistrationManager.packageFamilyName;
Public ReadOnly Property PackageFamilyName As String

Property Value


Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)


This method is useful in cases where the calling app hosts multiple hosted apps, and each one has its own app URI registrations. If the AppUriHandlerRegistrationManager was retrieved with by calling GetForUser, empty string is returned.

Applies to