BASS.NET API for the Un4seen BASS Audio Library

BassEnc_Mp3BASS_Encode_MP3_GetVersion Method (Int32)

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

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

public static Version BASS_Encode_MP3_GetVersion(
	int fieldcount
)

Parameters

fieldcount
Type: SystemInt32
The number of components to use. The fieldCount ranges from 1 to 4 (major.minor.build.revision).

Return Value

Type: Version
The BASSenc_MP3 version (major.minor.build.revision).
Remarks

There is no guarantee that a previous or future version of BASSenc_MP3 supports all the BASSenc_MP3 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.

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

See Also

Reference