Determining PDF Password Protection with Aspose.PDF in C#

Hello
What is the quickest way to find out if a PDF file is password protected using Aspose PDF in C#?

@asemalsaif

Please check the below documentation article in order to check whether a PDF is password protected or not: