Hi sura,
You can try to use MimeKit to decrypt.
jstedfast provided a simple code example you can refer to.
Meanwhile, you can also try to encrypt a message with its public key, and then decrypt it with the private.
Here is a code example and hope help for you.
Best Regards,
Daniel Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.