Use this RFID library in Delphi

Adrien JUND edited this page Aug 10, 2017 · 1 revision

License and download

LibLogicalAccess Delphi component is distributed under the commercial ISLOG LibLogicalAccess License, which has to be purchased by each company or individual. We love open source ; such project can request a free license. In any case, contact us to order a license or for more information.

Examples

Initialize a reader connection

The first step you do for any operation is to initialize the reader communication.

var
  readerProvider : IReaderProvider;
  readerUnit : IReaderUnit;
begin
  // Explicitly use the PC/SC Reader Provider.
  readerProvider := CoPCSCReaderProvider.Create;
  // Create the default reader unit. On PC/SC, we will listen on all readers.
  readerUnit := readerProvider.CreateReaderUnit();

  if readerUnit.ConnectToReader() then
  begin
  
    // DO CARD STUFF HERE
    // DO CARD STUFF HERE
    // DO CARD STUFF HERE
    
  end;
end;

For more examples, please see the corresponding DotNet (C#) examples.