CLI
Begin first with the commands of CompatInfo in CLI mode.
See Chapter 11, CLI
XML
How you can customize CompatInfo in CLI mode only.
See Chapter 12, Configuration file
API
Due to namespaces, API are incompatible in versions 2 and 3. Here are code to do the same things.