ASP.NET Fax Samples - Send Faxes with a Few Lines of Code
Need to send an ASP.NET fax? The InterFAX ASP.NET fax API lets you send faxes using only a few lines of ASP.NET code, with no installations. InterFAX accepts documents in many popular formats, including PDF, Word, HTML, ASCII and URL - and sends them to a fax number you specify. We offer basic fax send/receive, and advanced features like multiple destinations, document resolution, and deferred transmission.
Note: This section includes samples for the ASP.NET framework, using VB.NET or C# code (.aspx.vb or .aspx.cs file extensions):
- If you are looking for ASP classic samples (.asp file extension), refer to the Fax ASP Classic section.
- If you would like more advanced VB.NET or C# samples, see the Fax VB.NET and C# Fax sections.

Sign up now for our free developer program and receive immediate access to the Interfax Fax API, supporting fax ASP.NET, fax ASP (ASP classic) and other popular languages. No hardware, no installations, no phone lines to order.
ASP.NET Fax Code Samples
| Sample | VB.NET | C# |
|---|---|---|
| Setting Up ASP.NET Fax Environment - General | Setting Up VB.NET Environment | Setting Up C# Environment |
| Send a Plain-Text Fax - SendCharFax | Simple Fax Transmission (VB.NET code) | Send Plain-Text Content with SendCharFax (C# project) |
| Submit a Binary Fax - SendBinaryDocument | Submit Binary Document (VB.NET code) | Submit Binary File (C# project) |
| Retrieve Detailed Fax Information - FaxQuery | Get Fax Information with FaxQuery (VB.NET code) | Get Information About Submitted Faxes (C# project) |

