InfoConnect for Unisys
Attachmate.Reflection.Emulation.OpenSystems Namespace / ITerminal Interface / HangUp Method

In This Topic
    HangUp Method
    In This Topic
    Hangs up the modem by sending the Hayes "+++" command to get the modem's attention, followed by the "ATH" hangup command.
    Function HangUp() As ReturnCode
    Dim instance As ITerminal
    Dim value As ReturnCode
    value = instance.HangUp()
    ReturnCode HangUp()
    This method does not guarantee that the modem has actually hung up. No error is returned if the method fails for any reason. After the modem is hung up, the port remains open; use the Disconnect method to close the port.

    Valid only if InfoConnect is set to use the old modem dialer (UseModemDialerV5 = true).

    See Also