开发者

C# - get Windows association for a random file

In C#, I'm trying to ta开发者_运维问答ke some random file selected by a user, and determine the Windows Association for the program.

I'd like to use this to provide some helpful information to the user about the program which will run.

This is a portfolio tool where generic files can be attached to a record.


1851520 is a similar question, and from that question C# AF_FileAssociations looks to have what you need.

Failing that, System File Association on Codeproject looks to have the code to retrieve file association info.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜