SecurityServices for .NET 2.0 Documentation

SmartcardReader.OpenReaderMethod(Byte[])

[This is preliminary documentation and subject to change.]

Opens a SmartcardReader that has a card inserted with a specified ATR.

publicstaticSmartcardReaderOpenReader(
Byte[]atr
);

Parameters

Byte[]
The ATR to search for.

Return Value

An instance of the SmartcardReader class -or- a null reference if no smartcard reader was found.

Exceptions

Exception Type Condition
ArgumentNullException atr is a null reference.
SmartcardException An error occurred while communication with the smartcard reader.

See Also

SmartcardReader Class | Org.Mentalis.SecurityServices.Smartcard Namespace | SmartcardReader.OpenReader Overload List