gpt4 book ai didi

c# - 使用 Windows 传真服务器扩展发送传真 - fax exlib

转载 作者:可可西里 更新时间:2023-11-01 12:08:11 24 4
gpt4 key购买 nike

我正在寻找 faxcomexlib.dll。谷歌搜索后,我从 Platform SDK 安装了 Core SDK,但我仍然没有在 System32 文件夹中看到这个 dll。这是我要运行的代码:

FAXCOMEXLib.FaxServer faxServer = new FAXCOMEXLib.FaxServerClass();
//faxServer.Connect(Environment.MachineName);
faxServer.Connect("//My-Server");
FAXCOMLib.FaxDoc faxDoc = (FAXCOMEXLib.FaxDoc)faxServer.CreateDocument(FileName);
faxDoc.RecipientName = "Test";
faxDoc.FaxNumber = "1234567890";
faxDoc.DisplayName = "Test";
int Response = faxDoc.Send();
faxServer.Disconnect();

我使用的是 VS 2010/.NET 4.0,我使用的是 Windows XP。

最佳答案

您必须在计算机上安装 Windows 传真服务和物理传真设备才能在系统 32 中获取该 dll

关于c# - 使用 Windows 传真服务器扩展发送传真 - fax exlib,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3672011/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com