InfoConnect API Guide
Attachmate.Reflection.Emulation.OpenSystems Namespace / ITerminal Interface / OnLine Property


In This Topic
    OnLine Property
    In This Topic
    Gets or sets a value indicating whether InfoConnect is in remote mode or local mode.
    Syntax
    'Declaration
     
    
    Property OnLine As Boolean
    'Usage
     
    
    Dim instance As ITerminal
    Dim value As Boolean
     
    instance.OnLine = value
     
    value = instance.OnLine
    bool OnLine {get; set;}

    Property Value

    The default value is true.
    Remarks
    In remote mode (that is, when the Online property is set to true), InfoConnect transmits each character typed at the keyboard out the datacomm port. As characters are received back from the host, they are displayed on the screen. If there is no connection, characters are not echoed.

    In local mode (that is, when Online is set to false), InfoConnect immediately displays what is typed on the screen without attempting to send it out the datacomm port. Data received from the host is discarded.

    See Also