ALFA.SystemInfo.GetNWNX4IniString C# (CSharp) Метод

GetNWNX4IniString() публичный статический Метод

Read an INI file setting from a NWNX4 plugin INI. The INI must follow the Windows INI format of [Sections] with Setting=Value . Note that some plugins, such as xp_mysql, do NOT use this format and cannot use this function. The maximum string length read from the INI file by this function is MAX_PATH.
public static GetNWNX4IniString ( string IniFileName, string SectionName, string SettingName, string DefaultValue ) : string
IniFileName string Supplies the INI file name, such as /// "AuroraServerVault.ini". The file name should not include a path /// component.
SectionName string Supplies the section name, such as /// "Settings".
SettingName string Supplies the setting name, such as /// "LocalServerVaultPath".
DefaultValue string Supplies the default value to return if /// the setting didn't exist.
Результат string
        public static string GetNWNX4IniString(string IniFileName, string SectionName, string SettingName, string DefaultValue)
        {
            return GetNWNX4IniString(IniFileName, SectionName, SettingName, DefaultValue, MAX_PATH);
        }

Same methods

SystemInfo::GetNWNX4IniString ( string IniFileName, string SectionName, string SettingName, string DefaultValue, int MaxValueSize ) : string