Click or drag to resize
Ranorex

HostMakeCurrentHost Method

Activates the given host that will then be used as the new host.

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public static void MakeCurrentHost(
	string host
)

Parameters

host
Type: SystemString
The host to activate. Null or whitespace only string will reset the current host to 'Localhost'.
Remarks
The current host will produce the root flavor element. Use AvailableHosts to to get a list of all available hosts.
See Also