---
title: currentProtocol
framework: cryptotokenkit
role: symbol
role_heading: Instance Property
path: cryptotokenkit/tksmartcard/currentprotocol
---

# currentProtocol

The protocol used for communication with the Smart Card. Returns TKSmartCardProtocolNone if no session is currently established.

## Declaration

```swift
var currentProtocol: TKSmartCardProtocol { get }
```

## See Also

### Setting the Communication Protocol

- [allowedProtocols](cryptotokenkit/tksmartcard/allowedprotocols.md)
- [TKSmartCardProtocol](cryptotokenkit/tksmartcardprotocol.md)
