SecureElementChannel Class

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Represents a Secure Element channel that has been opened in a SecureElementSession to transmit APDU commands to the Secure Element on the phone.

Inheritance Hierarchy


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


Public Class SecureElementChannel _
    Implements IDisposable
public class SecureElementChannel : IDisposable

The SecureElementChannel type exposes the following members.


  Name Description
SelectResponse Gets the select response obtained when the channel is opened.
Session Gets the channel session.



  Name Description
Dispose Releases all resources used by the current instance of SecureElementChannel.
Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Finalize Frees resources used by the SecureElementChannel object. (Overrides Object..::.Finalize()()().)
GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
GetType Gets the Type of the current instance. (Inherited from Object.)
MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
ToString Returns a string that represents the current object. (Inherited from Object.)
Transmit Transmit an APDU (Application Protocol Data Unit) command to the Secure Element. The system ensures that only one APDU is sent to the Secure Element at a time.




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 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.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

Thread Safety

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

See Also


Microsoft.Phone.SecureElement Namespace