Function

SecureDownloadCopyURLs

Returns a list of URLs from which the data can be downloaded.

Declaration

OSStatus SecureDownloadCopyURLs(SecureDownloadRef downloadRef, CFArrayRef *urls);

Parameters

downloadRef

The secure download object to query.

urls

A pointer to a CFArrayRef object that the function sets to point at a new array containing one or more CFURLRef objects indicating the urls to download.

Return Value

A result code. See Secure Download Result Codes.

Discussion

The first URL in the list is the preferred download location. The other URLs are backup locations in case earlier locations in the list can't be accessed.

See Also

Download Settings

SecureDownloadGetDownloadSize

Returns the size of the expected download.

SecureDownloadCopyCreationDate

Returns download ticket's creation date.

SecureDownloadCopyName

Returns the printable name of the download ticket.

SecureDownloadCopyTicketLocation

Copies the ticket location from a secure download URL.