<!--
{
  "availability" : [
    "macCatalyst: 13.1.0 -",
    "macOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DiskArbitration",
  "identifier" : "/documentation/DiskArbitration/DASessionCreate(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Disk Arbitration"
    ],
    "preciseIdentifier" : "c:@F@DASessionCreate"
  },
  "title" : "DASessionCreate(_:)"
}
-->

# DASessionCreate(_:)

Creates a new session.

```
func DASessionCreate(_ allocator: CFAllocator?) -> DASession?
```

## Return Value

A reference to a new DASession.

## Discussion

The caller of this function receives a reference to the returned object. The caller also implicitly retains the object and is responsible for releasing it.

---

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)