How to convert pdf to pdf/a using LibreOffice through .net code

I tried to convert pdf to pdf/a using below command but it is not working,
could you please help me to converting pdf to pdf/a using libreoffice through .net code?

“-norestore -nofirststartwizard -headless -convert-to pdf “”+sFilePath+ “””;

Hmm - isn’t LibreOffice using double hyphens (–) for command arguments on .net code? I’d expect "--norestore --nofirststartwizard --headless --convert-to pdf ....

It still accepts single hyphens, emitting warnings that this syntax is deprecated.

But OP didn’t provide details about the problem. No error message. No full command line. No OS and LO versions. No even information if the conversion tried to work interactively.