SecureElementChannel.SelectResponse Property

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

Gets the select response obtained when the channel is opened.

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

Syntax

Public ReadOnly Property SelectResponse As Byte()
public byte[] SelectResponse { get; }

Property Value

Type: array<System..::.Byte>[]()[]
The select response obtained when the channel is opened.

Exceptions

Exception Condition
IOException

Unable to communicate with the Secure Element or the Secure Element is not present.

InvalidOperationException

The channel is not open and cannot be used.

Remarks

This value is the byte array representing the APDU response from the Secure Element. The last two bytes are sw1 and sw2, the status code bytes.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

SecureElementChannel Class

Microsoft.Phone.SecureElement Namespace