I am trying to open or edit files with the ProcessStartInfo class. If I use .docx, .txt or similar it works. Only with .jpg and .png there are problems.
I'm using var psi = new ProcessStartInfo(someJpgOrPngFile)
and in the psi.Verbs
is only the printto Attribute.
I have tested the following code (https://stackoverflow.com/a/40340313) to get the available verbs and there I get open and shelledit
If I set the verb manually, like open or edit the file will be opened but this is not an option for me due to my code.
Does anyone have an idea why I get only printto as verb?
I'm using .NetFramework 4.6.1