Table of Contents

Class LibraryConfiguration

Namespace
TechnologySolutions.Rfid.AsciiProtocol
Assembly
TechnologySolutions.Rfid.AsciiProtocol.Core.dll

Provides configuration for parameters used across the library that change based on the connected reader

public static class LibraryConfiguration
Inheritance
LibraryConfiguration
Inherited Members

Properties

Current

Gets or sets the LibraryConfiguration

public static ILibraryConfiguration Current { get; set; }

Property Value

ILibraryConfiguration

Default

Gets a default configuration to use if ConfigurationForDevice(string, Version) returns null

public static ILibraryConfiguration Default { get; }

Property Value

ILibraryConfiguration

Methods

ConfigurationForDevice(string, Version)

Provides a library configuration for the specified reader. If the reader is not recognised returns null

public static ILibraryConfiguration ConfigurationForDevice(string serialNumber, Version firmware)

Parameters

serialNumber string

The reader's serial number

firmware Version

The reader's firmware version

Returns

ILibraryConfiguration

The library configuration

Remarks

These values should be obtained from a version command sent to the reader

If this returns null than Default can be used

See Also