Search Knowledge Base by Keyword
Are the .NET DLLs Thread-safe?
Applies to:
- Streaming Barcode Server for IIS to generate streaming barcodes from IIS.
- .NET Generator generates barcodes such as QR Codes in .NET Core and .NET 6+.
- ASP.NET Web Server Control for use in Web Applications.
- .NET Windows Forms Barcode Control for use in Local Windows Applications.
Solution(s):
Yes, the IDAutomation .NET DLLs are thread-safe. The components work in their threads and do not start other threads or processes. There are no limitations to the number of times that a component may be called or the number of threads that can run the controls simultaneously. The components are entirely self-contained; thus, creating multiple instances of the barcode objects is not an issue. This is demonstrated in the Streaming Barcode Server for IIS product that is used in the Free Barcode Creator and Online Generator. Both of these products are used by multiple users at the same time from a single DLL.
