Class Profile
This class contains methods for uploading or downloading the configuration file
Inheritance
Inherited Members
Namespace: rfid.api
Assembly: rfid.netcore.dll
Syntax
public class Profile
Methods
Delete(String)
This function deletes the configuration XML file from the reader's profile list.
Declaration
public void Delete(string profileName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | profileName | Profile Name to be deleted, e.g. "Config.xml". |
ExportToReader(String, String, Boolean)
This function updates the reader configuration XML file.
Declaration
public void ExportToReader(string profileName, string profilePath, bool activation)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | profileName | Profile to be uploaded, e.g. "Config.xml". |
| System.String | profilePath | Local Path Of the Profile. |
| System.Boolean | activation | Determines whether the profile is to be activited or not. If activation is set TRUE, the profile will be uploaded and activated. If activation is set FALSE, the profile will be uploaded but not activated.This value is ignored in XR. |
GetList(out Int32)
Gets the list of profiles available in the reader.
Declaration
public string[] GetList(out int activeProfileIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | activeProfileIndex | Active Profile Index |
Returns
| Type | Description |
|---|---|
| System.String[] | List of profile-names present in reader. |
ImportFromReader(String, String)
This function downloads the readerHandle configuration XML file.
Declaration
public void ImportFromReader(string profileName, string profilePath)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | profileName | Profile Name to be downloaded, e.g. "Config.xml". |
| System.String | profilePath | Local Path of the Profile to be saved. |
SetActive(String)
This function set the active configuration XML file to be used by the reader.
Declaration
public void SetActive(string profileName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | profileName | Profile Name to be used, e.g. "Config.xml". |