Returns information about a given file.
Namespace: Un4seen.Bass.AddOn.Winamp
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
Parameters
- file
- Type: SystemString
The name of the file to retrieve the information from. - title
- Type: SystemString
Returns the title of the given file. - lenms
- Type: SystemInt32
Returns the length of the given file in milliseconds.
Return Value
Type: Booleanif the information was retrieved successfully, else is returned.
Examples
C#
int len = 0; string title = String.Empty; if ( BassWinamp.BASS_WINAMP_GetFileInfo("testfile.mp3", ref title, ref len) ) { Console.WriteLine( "Title={0}, Length={1}ms", title, len ); }
See Also