ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Core Namespace / ApplicationOptions Class / DownloadOptions Property
Example

In This Topic
    DownloadOptions Property
    In This Topic
    Gets the application download options
    Syntax
    public static DownloadOptions DownloadOptions {get;}
    Public Shared ReadOnly Property DownloadOptions As DownloadOptions
    Example
    Get DownloadOptions
    var staging = ApplicationOptions.DownloadOptions.StagingLocation;
    
    var ppkx_loc = ApplicationOptions.DownloadOptions.UnpackPPKXLocation;
    var ask_ppkx_loc = ApplicationOptions.DownloadOptions.AskForUnpackPPKXLocation;
    
    var other_loc = ApplicationOptions.DownloadOptions.UnpackOtherLocation;
    var ask_other_loc = ApplicationOptions.DownloadOptions.AskForUnpackOtherLocation;
    var use_proj_folder = ApplicationOptions.DownloadOptions.UnpackOtherToProjectLocation;
    
    var offline_loc = ApplicationOptions.DownloadOptions.OfflineMapsLocation;
    var ask_offline_loc = ApplicationOptions.DownloadOptions.AskForOfflineMapsLocation;
    var use_proj_folder_offline = ApplicationOptions.DownloadOptions.OfflineMapsToProjectLocation;
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also