ModuleAPI C# Version Developer's Guide
Reader Life Cycle
 
Firstly you should call Reader.Create method to initialize reader, after that you may call Reader.ParamSet or Reader.ParamGet function to configure reader. Now you can call tag operation and Peripheral Functions methods. Calling Reader.Disconnect means you no longer use reader.

Create Method

Create an instance of the Reader class and initialize the reader
 
Method Signature
  
public static Reader Create(string uriString, Region region, int antsnum)
 
Parameters
Parameter Description
uriString IP address or serial port number of reader, like com1.
region Working frequency band area of the reader.
antsnum The number of physical ports of reader.
 
Return Value
The instance of the Reader class.
 
Example
  
try
{
	Reader rdr = Reader.Create("192.168.0.250", Region.NA, 4);
}
catch (Exception ex)
{
	MessageBox.Show("Create failed:" + ex.ToString());
}

Disconnect Method

Disconnect from the reader and release related resources
 
Method Signature
  
public abstract void Disconnect()
 
Example
  
rdr.Disconnect();