PersistentSettings Storage and Size Limits?

I’m curious where the PersistentSettings values are being saved and if I have to worry about users tampering with them.

Also, what is the size limit for strings? I have a list of unknown length and was going to use Json.NET to serialize. It’s 140 chars per item and 99% of users will have between 0 to 2 of them…but there’s always that guy.

Settings files (xml) are stored in the user’s profile:

%APPDATA%\McNeel\Rhinoceros\6.0\Plug-ins\<plug-in>\settings

https://stackoverflow.com/questions/140468/what-is-the-maximum-possible-length-of-a-net-string

– Dale