Click or drag to resize
TapiAppLines Property
Gets a list of telephony line devices available on the computer.

Namespace: Traysoft.AddTapi
Assembly: Traysoft.AddTapi (in Traysoft.AddTapi.dll) Version: 6.0.0.1110
Syntax
public static IList<TapiLine> Lines { get; }

Property Value

Type: IListTapiLine
Remarks
Lines is a collection of TapiLine objects representing telephony line devices installed on the computer. This collection is updated automatically when a new line device is added to the system and when existing device is removed. The application can subscribe to LineAdded and LineRemoved events to receive notifications when a line device is added or removed.
Examples
The following code shows how to list line devices installed on the computer.
TapiApp.Initialize("MyApp");
foreach(TapiLine line in TapiApp.Lines)
{
    Console.WriteLine("Line device {0}", line.Name);
}
TapiApp.Shutdown();
See Also