/// <summary> /// Sets the download rate restriction. /// </summary> /// <param name="isEnabled">if set to <c>true</c> the download rate restriction is enabled.</param> public void SetDownloadRateRestriction(bool isEnabled) { if (isEnabled) { openUrlConfig |= Un4seen.Bass.BASSFlag.BASS_STREAM_RESTRATE; } else { openUrlConfig &= ~Un4seen.Bass.BASSFlag.BASS_STREAM_RESTRATE; } }