<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 10.5.0 - 12.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/SecureDownloadCopyName",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@F@SecureDownloadCopyName"
  },
  "title" : "SecureDownloadCopyName"
}
-->

# SecureDownloadCopyName

Returns the printable name of the download ticket.

```
OSStatus SecureDownloadCopyName(SecureDownloadRef downloadRef, CFStringRef*name);
```

## Parameters

`downloadRef`

The secure download to query.

`name`

A pointer to a CFStringRef object that the function fills with the secure download’s name.

## Return Value

A result code. See [Secure Download Result Codes](/documentation/Security/secure-download-result-codes).

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)