SecureElementReader.OpenSession Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Connects to the Secure Element.
Namespace: Microsoft.Phone.SecureElement
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
Public Function OpenSession As SecureElementSession
public SecureElementSession OpenSession()
Return Value
Type: Microsoft.Phone.SecureElement..::.SecureElementSession
The session object used to create channels.
Exceptions
| Exception | Condition |
|---|---|
| IOException | The is a problem communicating with the Secure Element. |
Version Information
Windows Phone OS
Supported in: 8.1, 8.0