List |
Exception | Condition |
---|---|
ListNotFoundException | see12.7 Exceptions and Errors |
Execute may be called multiple times for any number of lists, even if the same or another list is currently being executed.
Lists called for execution are added to the card's internal execution queue: the queue is processed in first-in-first-out order.
The current execution state of a list can always be checked by calling GetListStatus(Int32).
using ( ClientAPI client = new ClientAPI() ) { client.System.ResetToDefaults(); client.Connect( cardIP ); // <--- insert your card's IP address here! int listID = 0; CommandList list = new CommandList(); // [...append your list commands here...] client.List.Set( listID, list ); client.List.Execute( listID ); client.List.Delete( listID ); client.Disconnect(); }