LockDevice(DeviceDescription,DeviceSessionOptions) Method
Obtains a device from the Mobile Center lab and locks it, so that only the current LeanFT test can perform actions on it.
C# Syntax

Parameters

description
The DeviceDescription defined in Mobile Center.
deviceSessionOptions
A DeviceSessionOptions object supplying session options.