Share via


SmartCardRW.CapSCPresentSensor Property

2/27/2008

Indicates if the device can sense a smart card in a user-available slot.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property CapSCPresentSensor As Integer
public abstract int CapSCPresentSensor { get; }
public:
virtual property int CapSCPresentSensor {
    int get () abstract;
}
/** @property */
public abstract int get_CapSCPresentSensor ()
public abstract function get CapSCPresentSensor () : int

Remarks

This property indicates if the SCR/W device can sense if a smart card is present in one of the available slots (entry points and/or proximity zones) where a user can insert a smart card. The SCR/W device always has a minimum of one slot available (designated as the default slot) indicated by the LSB. CapSCPresentSensor is a bitwise logical OR combination of any of the int32 bits with bit 0 (LSB) slot 0 (default); bit 1, slot 1; bit 2, slot 2; and so on. If the bit value is 1, then the SCR/W has a sensor that can detect when a smart card is present; the bit value is 0 if it does not.

CapSCPresentSensor is set and updated by the service object, based on the capabilities of the device.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

SmartCardRW Class
SmartCardRW Members
Microsoft.PointOfService Namespace
SCPresentSensor