/// <summary> /// Attempts to retrieve <see cref="int"/> based value from the configuration. /// </summary> /// <param name="valueName">Key name for the value to retrieve.</param> /// <param name="value">The retrieved value.</param> /// <returns><c>true</c> if <paramref name="valueName"/> was found; otherwise, <c>false</c>.</returns> public static bool TryGetValue(string valueName, out int value) { return(BroApi.bro_conf_get_int(valueName, out value) != 0); }