The ServiceObject Class

The ServiceObject Class

The ServiceObject Class represents the management view of a service object.

Properties

Type and Name Access Key Description
string Name Read X The name of the service object.
string Type Read X The POS Device Class that is implemented by the service object.
string UposVersion Read   The version of the UPOS standard the service object is implementing.
string Path Read   Path of the service object’s assembly.
string Version Read   The version number of the service object’s assembly.
uint32 Compatibility Read   The major version of POS for .NET the service object is compatible with.
string Description Read   A short description of the service object.
bool IsPlugNPlay Read   If TRUE, the service object supports Plug and Play.
bool IsLegacy Read   If TRUE, the device is using a legacy (OPOS) service object.

If FALSE, the device is using a POS for.NET service object.

Methods

Type and Name Description
void AddDevice(string Path) Adds a non-Plug and Play device for this service object.

Path is the hardware path of the non-Plug and Play device to add.

void DeleteDevice(string Path) Deletes a non-Plug and Play device associated with this service object.

Path is the hardware path of the non-Plug and Play device to delete.

© 2005 Microsoft Corporation. All rights reserved.