Class LoginInfo
This class contains the login information of the reader
Inheritance
Inherited Members
Namespace: rfid.api
Assembly: rfid.netcore.dll
Syntax
public class LoginInfo
Constructors
LoginInfo()
LoginInfo contructor
Declaration
public LoginInfo()
LoginInfo(RfidApi4Abstract)
Declaration
public LoginInfo(RfidApi4Abstract rfidApi4Abstract)
Parameters
| Type | Name | Description |
|---|---|---|
| RfidApi4Abstract | rfidApi4Abstract |
LoginInfo(String, SUPPORTED_BAUDRATE)
Overloaded contructor takes comport , baudrate to connect to serial port secured mode as parameter
Declaration
public LoginInfo(string comport, SUPPORTED_BAUDRATE baudrate)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | comport | The port to use |
| SUPPORTED_BAUDRATE | baudrate | The baudrate |
LoginInfo(String, Int32)
Overloaded contructor takes comport , baudrate to connect to serial port secured mode as parameter
Declaration
public LoginInfo(string comport, int baudrate)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | comport | The port to use |
| System.Int32 | baudrate | The baudrate |
LoginInfo(String, String, String, SECURE_MODE)
Overloaded contructor takes host name, user name, password, reader type and secured mode as parameter
Declaration
public LoginInfo(string hostName, string userName, string password, SECURE_MODE secureMode)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | hostName | Host name of the reader IP address |
| System.String | userName | User Name to communicate with reader |
| System.String | password | Password to communicate with reader |
| SECURE_MODE | secureMode | Secured mode specifies the mode of communication with the reader |
LoginInfo(String, String, String, SECURE_MODE, Boolean)
Overloaded contructor takes host name, user name, password, reader type and secured mode as parameter
Declaration
public LoginInfo(string hostName, string userName, string password, SECURE_MODE secureMode, bool forceLogin)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | hostName | Host name of the reader IP address |
| System.String | userName | User Name to communicate with reader |
| System.String | password | Password to communicate with reader |
| SECURE_MODE | secureMode | Secured mode specifies the mode of communication with the reader |
| System.Boolean | forceLogin | Force login this host |
Properties
Baudrate
Gets or sets the user name used to connect with the reader
Declaration
public SUPPORTED_BAUDRATE Baudrate { get; set; }
Property Value
| Type | Description |
|---|---|
| SUPPORTED_BAUDRATE |
Comport
Gets or sets the user name used to connect with the reader
Declaration
public string Comport { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ForceLogin
Force login this host
Declaration
public bool ForceLogin { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
HostName
Gets or sets the host name of the reader
Declaration
public string HostName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Password
Gets or sets the password used to connect with the reader
Declaration
public string Password { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
SecureMode
Gets or sets the mode of connection used to connect with the reader
Declaration
public SECURE_MODE SecureMode { get; set; }
Property Value
| Type | Description |
|---|---|
| SECURE_MODE |
UserName
Gets or sets the user name used to connect with the reader
Declaration
public string UserName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |