 | IRemoteEndpointServiceAddDevice Method (String, RemotePlatform, RemoteConnectionType, String) |
Add a device temporary for this session.
Namespace:
Ranorex.Core.Remoting
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
SyntaxIRemoteEndpoint AddDevice(
string name,
RemotePlatform platform,
RemoteConnectionType type,
string address
)
Function AddDevice (
name As String,
platform As RemotePlatform,
type As RemoteConnectionType,
address As String
) As IRemoteEndpoint
Parameters
- name
- Type: SystemString
Device name - platform
- Type: RemotePlatform
Device platform (e.g. Android) - type
- Type: RemoteConnectionType
Connection type (e.g. Usb) - address
- Type: SystemString
Device identification address. (e.g. IP-Address of network connections; device serial for usb connections)
Return Value
Type:
IRemoteEndpointNew endpoint instance
See Also