Admin Production rocket
Current Publication

HostDescriptionFileName Property

Reflection Desktop .NET API Guide V17.0
Rocket® Reflection Desktop (formerly a product of Micro Focus or formerly a product of Open Text) documentation that was created prior to Rocket Software's acquisition of certain products from OpenText may contain outdated references to "Micro Focus” or “OpenText”, which are trademarks of OpenText. Rocket Software is not affiliated with Micro Focus or OpenText and has rebranded these products as Rocket® products.
HostDescriptionFileName Property
In This Topic
Gets or sets the name and location of the host description file that is used by the GetHostElement method.
Syntax

                     
                     
'Declaration
 

                     
                     
Property HostDescriptionFileName As String

                  

                     
                     
'Usage
 

                     
                     
Dim instance As ITerminal
Dim value As String
 
instance.HostDescriptionFileName = value
 
value = instance.HostDescriptionFileName

                  

                     
                     
string HostDescriptionFileName {get; set;}

                  

Property Value

The default value is "CommonInstallFolder\hosts.xml". The following environment variables are supported:
  • - Typically C:\Documents and Settings\username\Application Data).
  • - RHP, RRG, RUO, RSIT.
  • - Typically C:\Program Files\Micro Focus\Reflection.
  • - Typically C:\Program Files\Common Files\Micro Focus.
  • - Typically C:\Documents and Settings\username\My Documents.
  • - Typically C:\Documents and Settings\username.
  • - Typically C:\Documents and Settings\All Users\Documents.
  • - Typically C:\Program Files.
  • - Synonym for ProgramFilesFolder.
  • - The Windows user name without the domain name.
Remarks
The host description file is an XML file that contains information about how hosts respond to logon attempts. The value of this setting is saved in the Windows registry and affects all subsequent Reflection sessions.
See Also