Fax VB.NET – Get Detailed Fax Information with FaxQuery
25 Nov 2016 This code sample is deprecated and in process of being removed. Check out our new code libraries and usage documentation on InterFAX @ Github.
Download the fax VB.NET project files.
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