Retrieves the value of a pointer config option as an Ansi string.
Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.2
Syntax
Parameters
- option
- Type: Un4seen.BassBASSConfig
The option to get the value of... one of the following (BASSConfig).
Return Value
Type: StringIf successful, the value of the requested config option is returned (as an Ansi String). Use BASS_ErrorGetCode to get the error code.
Remarks
Other config options may be supported by Add-Ons, see the documentation.
ERROR CODE | Description |
---|---|
BASS_ERROR_ILLPARAM | option is invalid. |
Examples
string userAgent = Bass.BASS_GetConfigString(BASSConfig.BASS_CONFIG_NET_AGENT); if (userAgent != null) { ... }
See Also