This is a .Net code sample to show how to retrieve information regarding an inbound fax received in InterFAX. This code sample is based on the .Net library for InterFAX available on Github.
This sample demonstrates how to retrieve the information of a single fax based on the fax ID - all you need to do in order to change it is to provide a different fax ID.
You can retrieve the fax ID by using the sample code for checking on inbound faxes or by integrating the inbound callback.
// given an InterFAX fax ID var faxId = 12345; // retrieve the fax var fax = await interfax.Inbound.GetFaxRecord(faxId); // check the status fax.MessageStatus; // check the number of pages fax.Pages;
The parameters of the fax are only two of several parameters that you can retrieve in regards to a fax. For a full list, please review our API documentation.