how to find the execution path of a installed software

后端 未结 6 1359
夕颜
夕颜 2020-12-05 16:26

How can i find the execution path of a installed software in c# for eg media player ,vlc player . i just need to find their execution path . if i have a vlc player install

6条回答
  •  悲哀的现实
    2020-12-05 17:05

    This stackoverflow.com article describes how to get the application associated with a particular file extension.

    Perhaps you could use this technique to get the application associated with certain extensions, such as avi or wmv - either Medial Player or in your case VLC player?

提交回复
热议问题