Microsoft is adding system-level age verification APIs to Windows 11, allowing registered apps to query the user's age.