BASS.NET API for the Un4seen BASS Audio LibraryBassNet ClassBASS.NET API for the Un4seen BASS Audio Library
Bass.Net registration class.

Used to register your BASS.NET API license and to optionally suppress the splash screen.

Inheritance Hierarchy

SystemObject
  Un4seen.BassBassNet

Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

public sealed class BassNet

The BassNet type exposes the following members.

Properties

  NameDescription
Public propertyStatic memberInternalName
Gets the internal name, which the productname and version.
Public propertyStatic memberUseBrokenLatin1Behavior
Gets or Sets whether or not to use a broken behavior for Latin-1 strings (e.g. common to ID3v1 and ID3v2 tags).
Public propertyStatic memberUseRiffInfoUTF8
Gets or Sets whether or not to use UTF-8 strings when reading RIFF INFO (LIST INFO) chunks.
Top
Methods

  NameDescription
Public methodStatic memberRegistration
Registers your BASS.NET version and suppresses the freeware splash screen.
Public methodStatic memberShowAbout
Shows a BASS.NET about dialog.
Public methodStatic memberCode exampleShowSplash
Shows the splash screen, even if you have registered BASS.NET.
Top
Fields

  NameDescription
Public fieldStatic memberOmitCheckVersion
Gets or Sets, if the version check should be omitted when initializing Bass, BassWaspi or BassAsio.
Top
Remarks

Not needed when using the freeware version of BASS.NET.

When you purchased a valid license for BASS.NET you will obtain a 'Registration-Key' together with your 'eMail'. Call the Registration(String, String) method prior to any other BASS method with these 2 parameters in order to suppress the BASS.NET freeware splash screen.

If you like to support BASS.NET anyhow, you might call the ShowSplash(Form, Int32, Double, Int32) method manually.

Examples

Register BASS.NET:
BassNet.Registration("your emai", "your registration code");
...
Bass.Init(...);
Register BASS.NET, but show splash anyhow (for 30sec., center parent, 5% transparent):
VB
BassNet.Registration("your email", "your registration code") 
BassNet.ShowSplash(Me, 30000, 0.95, 2) 
...
Bass.Init(...)
BassNet.Registration("your email", "your registration code");
BassNet.ShowSplash(this, 30000, 0.95, 2);
...
Bass.Init(...);
See Also

Reference