SecureElementReader Class

May 11, 2014

Represents an object that can interact with the Secure Element on the phone.


Namespace:  Microsoft.Phone.SecureElement
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public class SecureElementReader : IDisposable

The SecureElementReader type exposes the following members.

Public propertyStatic memberCardEmulationModeGets the user's selection in the wallet settings regarding the ability of the Secure Element to communicate with an external NFC terminal via the wireless NFC radio link.
Public propertyIsSecureElementPresentGets a value indicating whether a Secure Element is present.
Public propertyTsmRoutingIdGets an ID that identifies the Trusted Service Manager (TSM) that manages this Secure Element.

Public methodDisposeReleases all resources used by the current instance of SecureElementReader.
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeFrees resources used by the SecureElementReader object. (Overrides Object.Finalize().)
Public methodStatic memberGetDefaultGets the default SecureElementReader object.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodOpenSessionConnects to the Secure Element.
Public methodRegisterSecureElementItemAsyncRegisters an ISecureElementItem with the Secure Element.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Public eventRegisterSecureElementItemCompletedOccurs when registration with the Secure Element is complete.


If you use this API in your app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.


Windows Phone 8


Windows Phone 8

For more info, see App capabilities and hardware requirements for Windows Phone 8.

Important noteImportant Note:

To deploy an app that uses the ID_CAP_WALLET_SECUREELEMENT capability, you must request special permissions and have that permission applied to your developer account. For more info and assistance, contact Developer support.

Windows Phone OS

Supported in: 8.1, 8.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

© 2014 Microsoft