Fax VB.NET - Get Detailed Fax Information with FaxQuery
These project files retrieve information for one or more submitted faxes with VB.NET and FaxQuery.
The following fax VB.NET code snippet displays information for a number of submitted faxes.
Under the VB.NET project files, you can access the FaxQuery sample from the FaxStatusEx folder.
Sub Main() Dim username As String = "my username" Dim password As String = "my password" Dim verb As String = "EQ" Dim verbData As String = "196805130" Dim maxItems As Integer = 1 ' just a single item Dim st As Integer Dim ifws As New interfax.InterFax() Dim result As interfax.FaxItemEx() = ifws.FaxQuery(username, password, verb, verbData, maxItems, st) Console.WriteLine("Status is " & st & "; Num of transactions: " & result.Length) End Sub
See our other code samples showing how to fax from VB.NET.

