Click or drag to resize

MobileMapPackageVersion Property

Gets the mobile map package's version.

Namespace:  Esri.ArcGISRuntime.Mapping
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.9.0.0
Syntax
C#
public string Version { get; }

Property Value

Type: String
Remarks

The mobile map package version is set when the package is authored in ArcGIS Pro or when it is generated by the OfflineMapTask.

This property will be populated when you attempt to load the package. The version property will always be populated for you to examine, even if the package is an unsupported version.

ArcGIS Runtime SDKs currently support mobile map packages up to and including major version 4.

You may wish to check the version property before trying to access specific functionality. For example:

  • Expiration details are only available from mobile map package version 3.1 onwards.
  • Links to online services are only available from mobile map package version 4.0 onwards.

If the package fails to load, check that the version number has not exceeded the supported major version.

See Also