GetModemPort Method

Navigation:  Reference Guide > Modem > Methods >

GetModemPort Method

Previous pageReturn to chapter overviewNext page

Returns the name of the port associated with a modem.

[Visual Basic .NET]

Public Function GetModemPort(ByVal Index As Integer) As String

[C#]

public string GetModemPort(int Index);

Parameters

Index

    0-based modem index in the modem list, this parameter value must be between 0 and total number of modems - 1.

 

Return Value

The return value is the name of the port associated with a modem.

 

See Also

ModemCount Property