GroupDocs.Conversion ThreadSafe in .NET?

Is GroupDocs.Conversion for .NET ThreadSafe?

@richard.fabig

The general answer is no. But could you please share more details? What kind/level of thread safety is needed?

I want to convert a larger number of Documents at the same time in one process. Therefore I need to know if the calls

using (Converter converter = new Converter(documentPath))
{
PdfConvertOptions convertOptions = new PdfConvertOptions();
converter.Convert(outputPath, convertOptions);

        }

are thread safe, so that I can call them in different Threads.

1 Like

@richard.fabig

We are investigating this scenario. Your investigation ticket ID is CONVERSIONNET-5418.

@richard.fabig

It’s better to execute the code/snippet (from your sample) in each thread. The converter object is lightweight and do not spent much time during construction.