BASS.NET API for the Un4seen BASS Audio Library

BassEnc_FlacBASS_Encode_FLAC_GetVersion Method

BASS.NET API for the Un4seen BASS Audio Library
Retrieves the version number of the BASSenc_FLAC.DLL that is loaded.

Namespace:  Un4seen.Bass.AddOn.EncFlac
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

[DllImportAttribute("bassenc_flac")]
public static int BASS_Encode_FLAC_GetVersion()

Return Value

Type: Int32
The BASSenc_FLAC version. For example, 0x02040103 (hex), would be version 2.4.1.3.
Remarks

There is no guarantee that a previous or future version of BASSenc_FLAC supports all the BASSenc_FLAC functions that you are using, so you should always use this function to make sure the correct version is loaded. It is safe to assume that future minor revisions (indicated in the LOWORD) will be fully compatible.

You might use the global constant BASSENCFLACVERSION to check the major revision.

Note: Calling this method will also automatically load the library into memory.

See Also

Reference