SecureElementReader.GetDefault Method

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

Gets the default SecureElementReader object.

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

Syntax

Public Shared Function GetDefault As SecureElementReader
public static SecureElementReader GetDefault()

Return Value

Type: Microsoft.Phone.SecureElement..::.SecureElementReader
The default SecureElementReader object.

Exceptions

Exception Condition
NotSupportedException

The device does not support a Secure Element.

Remarks

SecureElementReader class is implemented as a singleton, meaning only one instance of this class exists and there is a global point of access to it. GetDefault is the global point of access to the instance.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

SecureElementReader Class

Microsoft.Phone.SecureElement Namespace