Share via


PosExplorer Class

Definition

Defines the programmatic interface for enumeration and initialization of POS installed devices.

public sealed class PosExplorer
type PosExplorer = class
Public NotInheritable Class PosExplorer
Inheritance
PosExplorer

Constructors

PosExplorer()

Creates an instance of the PosExplorer class.

PosExplorer(ISynchronizeInvoke)

Creates an instance of the PosExplorer class with the specified parameter and initializes the system.

Properties

PosRegistryKey

Gets the POS for .NET configuration root registry key in relation to HKEY_LOCAL_MACHINE.

StatisticsFile

Gets a path of the file in which device statistics is persisted.

SynchronizingObject

Gets or sets the IsynchronizeInvoke object.

Methods

CreateInstance(DeviceInfo)

Creates an instance of the service object based on the information supplied by the property values of the DeviceInfo object.

GetDevice(String, String)

Retrieves a device of the specified type and logical name (or alias).

GetDevice(String)

Retrieves a device of the specified type.

GetDevices()

Returns a collection of all POS devices currently installed in the system.

GetDevices(DeviceCompatibilities)

Retrieves all POS devices currently installed in the system, based on a compatibility level (or version number).

GetDevices(String, DeviceCompatibilities)

Retrieves all POS devices of the specified type and compatibility (or version).

GetDevices(String)

Retrieves all POS devices of the specified type.

Refresh()

Re-enumerates the list of attached POS devices and rebuilds internal data structures.

Events

DeviceAddedEvent

Notifies the application when a POS device has been added to the system.

DeviceRemovedEvent

Notifies the application when a POS device has been removed from the system.

Applies to