BeginDetectionType Enumeration

2/27/2008

Enumerates the card detection process.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public Enumeration BeginDetectionType
public enum BeginDetectionType
public enum class BeginDetectionType
public enum BeginDetectionType
public enum BeginDetectionType

Members

Member name Description
Any The content of the detected card can be anything.
Specific When this method is called, only the card that corresponds to the identifier in the MediumId property can be detected.

Remarks

Supports the both contact IC card devices and those that do not have contacts.

When called, the device starts a card detection process, and starts the card detection in the device. This method is called together with the EndDetection method that ends the card detection process.

If the device cannot be set to the detection process, an error exception will be raised such as Timeout. However, the device stays in the detection mode until the EndDetection method is called.

If the timeout parameter value is zero, the method initiates the detection mode immediately. If a value is set (in milliseconds), the card detection process waits for this time period if necessary. If a value of WaitForever is specified, the method initiates the card detection process and then waits as long as necessary until either the card is detected or an error occurs. The type parameter specifies the type of the detected card.

See Also

Reference

Microsoft.PointOfService Namespace