Use this function to obtain registry root for storing/retrieving product specific user data.
Public virtual Property UserRegistryProductRootKey() As string
public virtual string UserRegistryProductRootKey;
Returns the registry root of the product in the HKEY_CURRENT_USER hive. In case of AutoCAD, the string returned is the same as the one returned by MachineProductRegistryRootKey.
To use this property, you need to use Current property on HostApplicationServices. For example:
string appRootString2 = Autodesk.AutoCAD.DatabaseServices.HostApplicationServices.Current.UserRegistryProductRootKey;
Read / Write
HostApplicationServices Class, Autodesk.AutoCAD.DatabaseServices Namespace