Search code examples
c#windowsassociationsfile-type

List all applications that handle a specified file type


Is it possible to list all the applications on a machine that can open a specific file type, using only the files extension? for example if I have a text file (.txt), I want a list of all applications that can open .txt files.


Solution

  • Check out the HKEY_CLASSES_ROOT hive in your registry. It's all in there.