BASS_CONFIG_NET_AGENT config option
The "User-Agent" request header sent to servers.
BASS_SetConfigPtr( BASS_CONFIG_NET_AGENT, char *agent );
Parameters
agent | The "User-Agent" header. |
Remarks
BASS does not make a copy of the config string, so it must reside in the heap (not the stack), eg. a global variable. This also means that the agent setting can subsequently be changed at that location without having to call this function again.Changes take effect from the next internet stream creation call.