Share via


SmartCardRW Members (POS for .NET v1.12 SDK Documentation)

2/27/2008

Defines the programmatic interface for a UPOS smart card reader/writer device.

The following tables list the members exposed by the SmartCardRW type.

Protected Constructors

  Name Description
SmartCardRW Creates an instance of the SmartCardRW class.

Top

Public Fields

  Name Description
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif ExtendedErrorFirmwareBadFile  Indicates the specified firmware file or files exist, but one or more of those files are either not in the correct format or are corrupted. (inherited from PosCommon)
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif ExtendedErrorNoCard Indicates no card is detected in the smart card reader/writer device but a card was expected.
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif ExtendedErrorRead Indicates there was a read error.
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif ExtendedErrorStatistics  Indicates a specified statistic could not be reset or updated. (inherited from PosCommon)
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif ExtendedErrorStatisticsDependency  (inherited from PosCommon )
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif ExtendedErrorTorn Indicates the smart card was prematurely removed from the smart card reader/writer unexpectedly.
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif ExtendedErrorWrite Indicates there was a write error.
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif StatisticCommunicationErrorCount  Holds the programmatic name of the Communication Error Count common statistic. (inherited from PosCommon)
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif StatisticDeviceCategory  Holds the programmatic name of the Device Category common statistic. (inherited from PosCommon)
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif StatisticFirmwareRevision  Holds the programmatic name of the Firmware Revision common statistic. (inherited from PosCommon)
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif StatisticHoursPoweredCount  Holds the programmatic name of the Hours Powered On common statistic. (inherited from PosCommon)
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif StatisticInstallationDate  Holds the programmatic name of the Installation Date common statistic. (inherited from PosCommon)
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif StatisticInterface  Holds the programmatic name of the Interface common statistic. (inherited from PosCommon)
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif StatisticManufactureDate  Holds the programmatic name of the Manufacture Date common statistic. (inherited from PosCommon)
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif StatisticManufacturerName  Holds the programmatic name of the Manufacturer Name common statistic. (inherited from PosCommon)
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif StatisticMechanicalRevision  Holds the programmatic name of the Mechanical Revision common statistic. (inherited from PosCommon)
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif StatisticModelName  Holds the programmatic name of the Model Name common statistic. (inherited from PosCommon)
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif StatisticSerialNumber  Holds the programmatic name of the Serial Number common statistic. (inherited from PosCommon)
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif StatisticUnifiedPOSVersion  Holds the programmatic name of the Unified POS Version common statistic. (inherited from PosCommon)
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif StatusCardPresent Indicates a card is in the device.
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif StatusNoCard Indicates no card is detected in the device.
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif StatusPowerOff  Indicates that the device’s power is turned off or it is detached from the terminal. (inherited from PosCommon)
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif StatusPowerOffline  Indicates that the device is powered on but is either not ready or unable to respond to requests. (inherited from PosCommon)
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif StatusPowerOffOffline  Indicates that either the device’s power is off or it is offline. (inherited from PosCommon)
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif StatusPowerOnline  Indicates that the device’s power is turned on and it is ready for use. (inherited from PosCommon)
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif StatusUpdateFirmwareComplete  Indicates the update firmware process has completed successfully. (inherited from PosCommon)
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif StatusUpdateFirmwareCompleteDeviceNotRestored  Indicates the update firmware process succeeded. However, the Service Object and/or the physical device cannot be returned to the state they were in before the update firmware process started.  (inherited from PosCommon)
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif StatusUpdateFirmwareFailedDeviceNeedsFirmware  Indicates the update firmware process failed. The device will not be operational until another attempt to update the firmware is successful. (inherited from PosCommon)
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif StatusUpdateFirmwareFailedDeviceOk  Indicates the update firmware process failed. However, the device is still operational. (inherited from PosCommon)
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif StatusUpdateFirmwareFailedDeviceUnknown  Indicates the update firmware process failed. The device is in an indeterminate state. (inherited from PosCommon)
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif StatusUpdateFirmwareFailedDeviceUnrecoverable  Indicates the update firmware process failed. The device is either unusable or unrecoverable through software. (inherited from PosCommon)
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif StatusUpdateFirmwareProgress  Indicates the update firmware process has completed 1 to 100 percent successfully. (inherited from PosCommon)
Aa460901.pubfield(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif WaitForever  Used as the value for a timeout parameter in common and device-specific methods to indicate the method should wait until it receives a response, instead of timing out. (inherited from PosCommon)

Top

Public Properties

(see also Protected Properties )

  Name Description
Aa460901.pubproperty(en-US,WinEmbedded.11).gif CapCardErrorDetection Indicates whether the smart card device can report a "torn" card.
Aa460901.pubproperty(en-US,WinEmbedded.11).gif CapCompareFirmwareVersion  Gets a Boolean value that indicates whether the Service Object/device supports comparing the firmware version in the physical device against that of a firmware file. (inherited from PosCommon)
Aa460901.pubproperty(en-US,WinEmbedded.11).gif CapInterfaceMode Indicates the interface modes the device is capable of supporting.
Aa460901.pubproperty(en-US,WinEmbedded.11).gif CapIsoEmvMode Indicates the supported message modes when InterfaceMode is APDU.
Aa460901.pubproperty(en-US,WinEmbedded.11).gif CapPowerReporting  Gets the power reporting capabilities of the device. (inherited from PosCommon)
Aa460901.pubproperty(en-US,WinEmbedded.11).gif CapSCPresentSensor Indicates if the device can sense a smart card in a user-available slot.
Aa460901.pubproperty(en-US,WinEmbedded.11).gif CapSCSlots Indicates the number of slots available to a user.
Aa460901.pubproperty(en-US,WinEmbedded.11).gif CapStatisticsReporting  Gets a Boolean value that indicates whether the device can accumulate and can provide various statistics regarding usage. (inherited from PosCommon)
Aa460901.pubproperty(en-US,WinEmbedded.11).gif CapTransmissionProtocol Indicates the types of transmission protocols supported by the device.
Aa460901.pubproperty(en-US,WinEmbedded.11).gif CapUpdateFirmware  Gets a Boolean value that indicates whether the device's firmware can be updated through the UpdateFirmware method. (inherited from PosCommon)
Aa460901.pubproperty(en-US,WinEmbedded.11).gif CapUpdateStatistics  Gets a Boolean value that indicates whether some or all the device statistics can be reset to 0 (zero) by using the ResetStatistic and ResetStatistics methods, or updated by using the UpdateStatistic and UpdateStatistics methods. (inherited from PosCommon)
Aa460901.pubproperty(en-US,WinEmbedded.11).gif CheckHealthText  Gets a string that indicates the health of the device. (inherited from PosCommon)
Aa460901.pubproperty(en-US,WinEmbedded.11).gif Claimed  Gets a Boolean value that indicates whether the device is claimed for exclusive access. (inherited from PosCommon)
Aa460901.pubproperty(en-US,WinEmbedded.11).gif Compatibility  Gets the compatibility level of a device. (inherited from PosDevice)
Aa460901.pubproperty(en-US,WinEmbedded.11).gif DataCount Holds the number of currently queued DataEvent events.
Aa460901.pubproperty(en-US,WinEmbedded.11).gif DataEventEnabled Indicates whether a DataEvent event is delivered when input data is queued.
Aa460901.pubproperty(en-US,WinEmbedded.11).gif DeviceDescription  Gets a string identifying the device and the company that manufactured it. (inherited from PosCommon)
Aa460901.pubproperty(en-US,WinEmbedded.11).gif DeviceEnabled  Gets or sets a Boolean value that indicates whether the device has been placed in an operational state. (inherited from PosCommon)
Aa460901.pubproperty(en-US,WinEmbedded.11).gif DeviceName  Gets a short string identifying the device and any pertinent information about it. (inherited from PosCommon)
Aa460901.pubproperty(en-US,WinEmbedded.11).gif FreezeEvents  Gets or sets a Boolean value that indicates whether the application has requested that the Service Object not deliver events. (inherited from PosCommon)
Aa460901.pubproperty(en-US,WinEmbedded.11).gif InterfaceMode Holds the current communication interface mode.
Aa460901.pubproperty(en-US,WinEmbedded.11).gif IsoEmvMode Holds the message modes the device is using when InterfaceMode is APDU.
Aa460901.pubproperty(en-US,WinEmbedded.11).gif OutputId Holds the identifier of the most recently started asynchronous output.
Aa460901.pubproperty(en-US,WinEmbedded.11).gif PowerNotify  Gets or sets the type of power notification selection made by the application. (inherited from PosCommon)
Aa460901.pubproperty(en-US,WinEmbedded.11).gif PowerState  Gets the current power condition. (inherited from PosCommon)
Aa460901.pubproperty(en-US,WinEmbedded.11).gif SCPresentSensor Indicates a smart card is in position to exchange data.
Aa460901.pubproperty(en-US,WinEmbedded.11).gif SCSlot Holds the current slot available to a user.
Aa460901.pubproperty(en-US,WinEmbedded.11).gif ServiceObjectDescription  Gets a string identifying the Service Object that supports the device and the company that produced it. (inherited from PosCommon)
Aa460901.pubproperty(en-US,WinEmbedded.11).gif ServiceObjectVersion  Gets the Service Object version number. (inherited from PosCommon)
Aa460901.pubproperty(en-US,WinEmbedded.11).gif State  Gets the current state of the device. (inherited from PosCommon)
Aa460901.pubproperty(en-US,WinEmbedded.11).gif SynchronizingObject  Gets or sets the object that is used to marshal the event handler calls issued because of a POS event. (inherited from PosCommon)
Aa460901.pubproperty(en-US,WinEmbedded.11).gif TransactionInProgress Indicates whether a smart card has been detected.
Aa460901.pubproperty(en-US,WinEmbedded.11).gif TransmissionProtocol Holds the transmission protocols the device currently supports.

Top

Protected Properties

  Name Description
Aa460901.protproperty(en-US,WinEmbedded.11).gif DeviceInstanceId  (inherited from PosCommon )
Aa460901.protproperty(en-US,WinEmbedded.11).gif DevicePath  Gets or sets the hardware path of a device. (inherited from PosCommon)
Aa460901.protproperty(en-US,WinEmbedded.11).gif HardwareId  (inherited from PosCommon )
Aa460901.protproperty(en-US,WinEmbedded.11).gif IsExclusiveUseDevice Overridden. Indicates whether the SmartCardRW is an exclusive-use device.

Top

Public Methods

(see also Protected Methods )

  Name Description
Aa460901.pubmethod(en-US,WinEmbedded.11).gif BeginInsertion Initiates smart card insertion processing.
Aa460901.pubmethod(en-US,WinEmbedded.11).gif BeginRemoval Initiates smart card removal processing.
Aa460901.pubmethod(en-US,WinEmbedded.11).gif CheckHealth  (inherited from PosCommon )
Aa460901.pubmethod(en-US,WinEmbedded.11).gif Claim  (inherited from PosCommon )
Aa460901.pubmethod(en-US,WinEmbedded.11).gif ClearInput Clears all queued data and input error events and sets the State property to Idle.
Aa460901.pubmethod(en-US,WinEmbedded.11).gif ClearInputProperties Resets the values of properties altered by DataEvent or ErrorEvent.
Aa460901.pubmethod(en-US,WinEmbedded.11).gif ClearOutput Clears all buffered output data, including all asynchronous output.
Aa460901.pubmethod(en-US,WinEmbedded.11).gif Close  Releases the device and its resources. (inherited from PosCommon)
Aa460901.pubmethod(en-US,WinEmbedded.11).gif CompareFirmwareVersion  (inherited from PosCommon )
Aa460901.pubmethod(en-US,WinEmbedded.11).gif DirectIO  (inherited from PosCommon )
Aa460901.pubmethod(en-US,WinEmbedded.11).gif EndInsertion Ends smart card insertion processing.
Aa460901.pubmethod(en-US,WinEmbedded.11).gif EndRemoval Ends smart card removal processing.
Aa460901.pubmethod(en-US,WinEmbedded.11).gif Equals  Overloaded. (inherited from Object )
Aa460901.pubmethod(en-US,WinEmbedded.11).gif GetHashCode  (inherited from Object )
Aa460901.pubmethod(en-US,WinEmbedded.11).gif GetType  (inherited from Object )
Aa460901.pubmethod(en-US,WinEmbedded.11).gif Open  Opens a device for later input/output processing. (inherited from PosCommon)
Aa460901.pubmethod(en-US,WinEmbedded.11).gif ReadData Reads data from a smart card.
Aa460901.pubmethod(en-US,WinEmbedded.11).gifAa460901.static(en-US,WinEmbedded.11).gif ReferenceEquals  (inherited from Object )
Aa460901.pubmethod(en-US,WinEmbedded.11).gif Release  Releases exclusive access to the device. (inherited from PosCommon)
Aa460901.pubmethod(en-US,WinEmbedded.11).gif ResetStatistic  (inherited from PosCommon )
Aa460901.pubmethod(en-US,WinEmbedded.11).gif ResetStatistics  Overloaded. (inherited from PosCommon )
Aa460901.pubmethod(en-US,WinEmbedded.11).gif RetrieveStatistic  (inherited from PosCommon )
Aa460901.pubmethod(en-US,WinEmbedded.11).gif RetrieveStatistics  Overloaded. (inherited from PosCommon )
Aa460901.pubmethod(en-US,WinEmbedded.11).gif ToString  (inherited from Object )
Aa460901.pubmethod(en-US,WinEmbedded.11).gif UpdateFirmware  (inherited from PosCommon )
Aa460901.pubmethod(en-US,WinEmbedded.11).gif UpdateStatistic  (inherited from PosCommon )
Aa460901.pubmethod(en-US,WinEmbedded.11).gif UpdateStatistics  Overloaded. (inherited from PosCommon )
Aa460901.pubmethod(en-US,WinEmbedded.11).gif WriteData Writes data to a smart card.

Top

Protected Methods

  Name Description
Aa460901.protmethod(en-US,WinEmbedded.11).gif DeleteConfigurationProperty  (inherited from PosCommon )
Aa460901.protmethod(en-US,WinEmbedded.11).gif Finalize  (inherited from Object )
Aa460901.protmethod(en-US,WinEmbedded.11).gif GetConfigurationProperty  (inherited from PosCommon )
Aa460901.protmethod(en-US,WinEmbedded.11).gif Invoke  (inherited from PosCommon )
Aa460901.protmethod(en-US,WinEmbedded.11).gif MemberwiseClone  (inherited from Object )
Aa460901.protmethod(en-US,WinEmbedded.11).gif SetConfigurationProperty  (inherited from PosCommon )

Top

Public Events

(see also Protected Events )

  Name Description
Aa460901.pubevent(en-US,WinEmbedded.11).gif DataEvent Fired by the service object to present input data from the device to an application.
Aa460901.pubevent(en-US,WinEmbedded.11).gif DirectIOEvent  Raised by the Service Object to communicate information directly to the application. (inherited from PosCommon)
Aa460901.pubevent(en-US,WinEmbedded.11).gif ErrorEvent Fired by the service object to notify the application that a SCR/W error has been detected and a suitable response by the application is necessary to process the error condition.
Aa460901.pubevent(en-US,WinEmbedded.11).gif OutputCompleteEvent Fired by the service object to notify the application that the queued output request associated with the OutputCompleteEventArgs.OutputId property has completed successfully.
Aa460901.pubevent(en-US,WinEmbedded.11).gif StatusUpdateEvent  Raised by the Service Object to alert the application of a device status change. (inherited from PosCommon)

Top

Protected Events

  Name Description
Aa460901.protevent(en-US,WinEmbedded.11).gif DeviceAddedEvent  (inherited from PosCommon )
Aa460901.protevent(en-US,WinEmbedded.11).gif DeviceRemovedEvent  (inherited from PosCommon )

Top

See Also

Reference

SmartCardRW Class
Microsoft.PointOfService Namespace