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");
精彩评论