开发者

How can I programmatically find the Windows Fax Personal CoverPages folder?

开发者 https://www.devze.com 2023-01-08 15:10 出处:网络
I\'m trying to find the Windows Fax \"Personal CoverPages\" folder from my application. On my Win7 machine, it\'s C:\\Users\\USER\\Documents\\Fax\\Personal CoverPages

I'm trying to find the Windows Fax "Personal CoverPages" folder from my application.

On my Win7 machine, it's C:\Users\USER\Documents\Fax\Personal CoverPages

But Windows Fax also comes with XP and Vista Ultimate. I'm pretty sure their folders wouldn't be in the same place.

Is there any way for me to find this folder from my C# code? I'm already using FAXCOMEXLib Interop to send faxes开发者_StackOverflow社区 and I'm trying to find a way to easily look at the user's coverpages.


This should work:

var coverPagePath =
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments),
"Fax\\Personal CoverPages");
0

精彩评论

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

关注公众号