Retrieves the version number of the basswasapi.dll that is loaded.
Namespace: Un4seen.BassWasapi
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
Return Value
Type: Int32The BASSWASAPI version. For example, 0x02040103 (hex), would be version 2.4.1.3.
Remarks
You might use the global constant BASSWASAPIVERSION to check the major revision.
Examples
if ( Utils.HighWord(BassWasapi.BASS_WASAPI_GetVersion()) != BassWasapi.BASSWASAPIVERSION ) { MessageBox.Show(this, "Wrong BassWasapi Version!"); }
VB
If BassWasapi.BASS_WASAPI_GetVersion() < Utils.MakeLong(&H103, &H204) Then MessageBox.Show(Me, "Wrong BassWasapi Version!") End If
if (BassWasapi.BASS_WASAPI_GetVersion() < Utils.MakeLong(0x0103, 0x0204)) { MessageBox.Show(this, "Wrong BassWasapi Version!"); }
See Also