Retrieves the version of the BASS.DLL that is loaded.
Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
Parameters
- fieldcount
- Type: SystemInt32
The number of components to use. The fieldCount ranges from 1 to 4 (major.minor.build.revision).
Return Value
Type: VersionThe BASS version (major.minor.build.revision).
Remarks
Examples
Version expectedVersion = new Version(2, 4); if (Bass.BASS_GetVersion(2) < expectedVersion) { MessageBox.Show( this, "Wrong Bass Version!" ); }
See Also