0

I want to check what default browser is set on computer (name in string). I googled somewhat and i know how to open browser, but i need to check what program will be opened then. How to do this?

Kamila Szewczyk
  • 1,874
  • 1
  • 16
  • 33

1 Answers1

3

The information is in the windows registry key HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice\Progid. You can read the key with Java.

Community
  • 1
  • 1
Yosef Weiner
  • 5,432
  • 1
  • 24
  • 37