HostApplicationServices.UserRegistryProductRootKey Property

Description

Use this function to obtain registry root for storing/retrieving product specific user data.

Visual Basic

Public virtual Property UserRegistryProductRootKey() As string

C#

public virtual string UserRegistryProductRootKey;

Returns

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.

Remarks

To use this property, you need to use Current property on HostApplicationServices. For example:

string appRootString2 = Autodesk.AutoCAD.DatabaseServices.HostApplicationServices.Current.UserRegistryProductRootKey;

Conditions

Read / Write

Links

HostApplicationServices Class, Autodesk.AutoCAD.DatabaseServices Namespace