How to convert string into Secure string in C#

Hi,

Your expression seems no problem.

Can you try the following sample?

Sample20221208-8CSnet.zip (2.9 KB)

If this works, can you try to find difference b/w this and yours?

Regards,