<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CryptoTokenKit",
  "identifier" : "/documentation/CryptoTokenKit/TKSmartCardSlotManager/getSlot(withName:reply:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "CryptoTokenKit"
    ],
    "preciseIdentifier" : "c:objc(cs)TKSmartCardSlotManager(im)getSlotWithName:reply:"
  },
  "title" : "getSlot(withName:reply:)"
}
-->

# getSlot(withName:reply:)

Asynchronously calls a block with a Smart Card reader slot for a specified name.

```
func getSlot(withName name: String, reply: @escaping @Sendable (TKSmartCardSlot?) -> Void)
```

## Parameters

`name`

The name of the Smart Card reader slot.

`reply`

- slot: The Smart Card reader slot corresponding to the specified name. If no slot exists with that name, this argument is `nil`.

## 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)