Add In read/write Project Properties

Add In read/write Project Properties

Hi!
I am scripting in C# to read for example the "Minimum password length" for starters.
The idea is to be able to modify this and other parameters in runtime.

the code I use:

IProject context;
context.VariableCollection["Debug1"].SetValue(0, Convert.ToInt32(context.GetDynamicProperty("MinPwLength")));

Were I am writing the value of the property to a debug variable to show in runtime.

Not working nevertheless.

Thanks in advanced!!

This is a migrated post! Originally posted on 07.04.2022 by user MSahun. Please be aware that information can be outdated.