Get list of resolutions

How can I obtain the list of available resolutions?

You can use Graphics::GetResolutions().