I'm trying to programmatically open .jpg file in Windows Server 2008 R2.
var fileName = @"C:\Users\Admin\Desktop\TEST.JPG";
Process.Start(fileName);
But this code causes an error, because Photo Gallery Viewer component is not installed in the system.
But if I open the file by double click from explorer, it opens in MS Paint. In the register there is only one verb "printto". How Windows open file in MS Paint? What verb used by default in double click action?