Вот пример того, как это сделать:
// add using statements<br />
using RFCOMAPILib;<br />
// Do some stuff here if needed...<br /><br />
// initialize your fax server api
faxAPI = new RFCOMAPILib.FaxServer();<br />
// you can set this in the .config files if need be.
faxAPI.ServerName = "<em>[YourFaxServerHere]</em>";
faxAPI.Protocol = RFCOMAPILib.CommunicationProtocolType.cpSecTCPIP;<br />
// since i am working with multiple users, i iterated through the users and retrieved their
// respective passwords (encrypted of course) but you can insert the string value here or
// set it in the .config file.
faxAPI.AuthorizationUserID = "<em>[UserNameYouAreRetrievingImageFor]</em>";
faxAPI.AuthorizationUserPassword = "<em>[UserPassword]</em>";
faxAPI.UseNTAuthentication = RFCOMAPILib.BoolType.False;<br />
// Do some stuff here if needed...<br /><br />
// initialize fax object
RFCOMAPILib.Fax rfFax = (RFCOMAPILib.Fax)faxAPI.get_Fax(<em>[FaxHandleAsIntValueHere]</em>)
Надеюсь, это работает для вас!