Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PackageId.FullName | fullName property

Applies to Windows and Windows Phone

Gets the full name of the package.

Syntax


public:
property String^ FullName { 
   String^ get();
}

Property value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The full name.

Examples

Use the Package.Current | current property to get the package for the current app. Use the Package.Id | id property to get the package ID. This example gets package identity information by using members of the Package and PackageId classes.


Windows::ApplicationModel::Package^ package = Windows::ApplicationModel::Package::Current;
Windows::ApplicationModel::PackageId^ packageId = package->Id;
Windows::ApplicationModel::PackageVersion version = packageId->Version;

Platform::String^ output = "Name: \"" + packageId->Name + "\"\n" +
                        "Version: " + VersionString(version) + "\n" +
                   "Architecture: " + ArchitectureString(packageId->Architecture) + "\n" +
                     "ResourceId: \"" + packageId->ResourceId + "\"\n" +
                      "Publisher: \"" + packageId->Publisher + "\"\n" +
                    "PublisherId: \"" + packageId->PublisherId + "\"\n" +
                       "FullName: \"" + packageId->FullName + "\"\n" +
                     "FamilyName: \"" + packageId->FamilyName + "\"\n" +
                    "IsFramework: " + package->IsFramework.ToString();

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.ApplicationModel
Windows::ApplicationModel [C++]

Metadata

Windows.winmd

See also

Samples
App package information sample
Reference
PackageId
PackageId.FamilyName

 

 

Show:
© 2014 Microsoft