Package
Namespace: XPlat.ApplicationModel
Provides information about a package.
Supported platforms
Platform
Version
Xamarin.Android
9.0
Xamarin.iOS
1.0
UWP
10.0.16299
Remarks
Use the Package.Current property to get the package for the current app.
Constructors
Package(Foundation.NSBundle) - iOS
Parameters
bundle (Foundation.NSBundle)
The iOS NSBundle reference to retrieve relevant information from.
Package(Windows.ApplicationModel.Package) - Windows
Parameters
package (Windows.ApplicationModel.Package)
The Windows Package reference to retrieve relevant information from.
Static Properties
Current
Gets the package for the current app.
Properties
Id
Gets the package identity of the current package.
InstalledLocation
Gets the location of the installed package.
Dependencies
Gets the packages on which the current package depends.
DisplayName
Gets the display name of the package.
Logo
Gets the logo of the package.
IsDevelopmentMode
Indicates whether the package is installed in development mode.
InstalledDate
Gets the date on which the application package was installed or last updated.
Originator - Android
Gets the original Android PackageInfo reference object.
Originator - iOS
Gets the original iOS NSBundle reference object.
Originator - Windows
Gets the original Windows Package reference object.
Related information
References
Last updated