I did small app to allow quickly change screen resolutions on multiple monitors. I want to show product name as title of the monitor, and it\'s very simple to find using this co
It looks like @Eun's post missed a piece of information to close this discussion. With a little search, I found that IOServicePortFromCGDisplayID is not an API which Apple provides. Rather, it's a piece of open source code found here: https://github.com/glfw/glfw/blob/e0a6772e5e4c672179fc69a90bcda3369792ed1f/src/cocoa_monitor.m
I copied IOServicePortFromCGDisplayID and also 'getDisplayName' from it. I needed two tweaks to make it work on OS X 10.10.
If you need more information
I would thank Matthew Henry who submitted the code there.