My preferences are stored at
C:\Users\[username]\AppData\Local\Bentley\MicroStation\8.11\o_Dof88niaENmS1PChQ4Mg
Is there any way to determine this directory programmatically?