Fully reset the inserted card. This can be useful in order to recover from communication failures or card errors.

Namespace: CardWerk.SmartCard
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)

Public Function Reset() As Boolean
This language is not supported or no code example is available.
public bool Reset()
This language is not supported or no code example is available.
public:  
bool Reset()
This language is not supported or no code example is available.
public function Reset() : boolean;
This language is not supported or no code example is available.

Return Value

Type: bool

If the card reset was successful, then true is returned. If the attempt to reset the card failed, then false is returned.

Exception type Condition

CardTerminalException

If the card handle is invalid, because the original card was removed from the card terminal, then a CardTerminalException with code CardTerminalExceptionCode.CardWithdrawn will be thrown.

.NET Framework

Supported in: 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

.NET Core

Supported in: 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0

.NET Standard

Supported in: 2.0