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