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
Default
Gets a default configuration to use if ConfigurationForDevice(string, Version) returns null
public static ILibraryConfiguration Default { get; }
Property Value
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
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