How do I programmatically register an extension for a specific custom application?
How do I register an extension for a specific custom application programmatically?
For example, I have my own application built using C # on Windows. How can I register a file extension, so when I double click on a file with that extension, it launches my own application, and then I can process the clicked file in my application?
I need to do this programmatically during the installation of a custom application.
EDIT: Duplicate here
How to associate a file extension with the current executable in C #
0
source to share