CreditCard Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Credit Card class
public class CreditCard
type CreditCard = class
Public Class CreditCard
- Inheritance
-
CreditCard
Constructors
CreditCard(CardTransceiver, Byte, Int32) |
Create a Credit Card class |
Properties
LogEntries |
The list of log entries in binary format |
Tags |
A list of Tags that is contained by the Credit Card |
TailerSize |
The size of the tailer elements. Some readers add an extra byte usually 0x00 especially NFC ones. While Smart Card readers usually do not |
Methods
GetChallenge(Span<Byte>) |
Get a challenge to process authentication |
GetData(DataType) |
Get additional data |
GetPinTries() |
Get the number of pin tries left. Your credit card may not support this command. Use GetData(DataType.PinTryCounter) instead if you get a -1 as answer |
GetProcessingOptions(ReadOnlySpan<Byte>, Span<Byte>) |
Get Processing Options |
ProcessExternalAuthentication(Span<Byte>) |
Process external authentication |
ReadCreditCardInformation() |
Gather all the public information present in the credit card. Fill then Tag list with all the found information. You can get all the credit card information in the Tags property. |
ReadLogEntries(Byte, Byte) |
Read log records |
ReadRecord(Byte, Byte, Boolean) |
Read a specific record |
Select(Span<Byte>) |
Select an application identifier |
VerifyPin(ReadOnlySpan<Byte>) |
Verify the pin. Note this command may not be supported for your specific credit card |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for