发送传真 [英] Send Fax
本文介绍了发送传真的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想发送一些传真并检查它们的发送状态.
我写这些代码:
I want to send some fax and check sending status of them.
i write these codes :
FaxServerClass fs = new FaxServerClass();
fs.Connect("");
object obj = fs.CreateDocument("#myFile");
FaxDoc fd = (FaxDoc)obj;
fd.FaxNumber = "#myNumber";
fd.RecipientName = "#myReciepent";
int i = fd.Send();
现在我不知道
的含义1- i(发送方法的返回值)
2-如何检查传真调制解调器的状态(是否已安装,是否处于活动状态? .....?)
-传真发送过程是自动的(例如,当我们睡觉时)-
now i don't know meaning of
1- i (return value of send method)
2- how can i check status of fax modem,(installed or not? active or not? .....?)
-process of faxes sending is automatic (for example when we are sleep)-
推荐答案
您将需要咨询要从中获取FaxServerClass的库的手册/帮助文档,以了解其返回的信息.
WMI应该能够为您提供有关已安装硬件的信息.
恰兰(Ciaran)
You willl need to consult the manual/help docs for the library you are getting the FaxServerClass from to understand what it returns.
WMI should be able to give you information about installed hardware.
Ciaran
这篇关于发送传真的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文