Skip to main content
Skip table of contents

ClearINISection

Purpose

Clears an entire section in an INI file.  

HomeSeer will be reset to its default settings if the "Settings" section is cleared in the settings.ini file.


Parameters

Parameter: section
Type: string
Description: Name of the section in the INI to be cleared, such as "Settings" for the HomeSeer settings section.

Parameter: filename
Type: string
Description: Name of the INI file to be accessed.  For instance, the INI file for HomeSeer is settings.ini.

The file name is relative to the "config" folder in the HomeSeer program directory (
C:\Program Files\HomeSeer 2\Config by default).


Returns

None


Example

Sample Code

VB
None


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.