Reflection .NET API
Attachmate.Reflection.Emulation.OpenSystems Assembly / Attachmate.Reflection.Emulation.OpenSystems Namespace / ITerminal Interface / HostsFile Property


In This Topic
    HostsFile Property
    In This Topic
    Gets or sets the file path for the file that is used to populate the Host name/IP Address Drop-down list on the Create New VT Document dialog box.
    Syntax
    'Declaration
     
    
    Property HostsFile As String
    'Usage
     
    
    Dim instance As ITerminal
    Dim value As String
     
    instance.HostsFile = value
     
    value = instance.HostsFile
    string HostsFile {get; set;}

    Property Value

    The default value is "". (When the default is set, the path to the local Windows Hosts file is used.)
    Remarks
    The value of this property depends on your network software. Changing the value of this property in one instance of Reflection affects any instance of Reflection (version 6.0 or later) that you run. The file specified by the HostsFile property is expected to follow the following format: <IPv4 or IPv6 address> <host name> For Example: 127.0.0.1 localhost :: localhost The IP address information is not relevant unless the specified host file also happens to be the Windows system hosts file. The host name information is used to populate the Host name/IP Address Drop-down list on the Create New VT Document dialog box.
    See Also