LockDeviceByInfo Method
Obtains a device from the Mobile Center lab by device information and locks it, so that only the current LeanFT test can perform actions on it.
If the lock operation fails, the LockDeviceByInfo method throws an exception.
C# Syntax
public static IDevice LockDeviceByInfo( 
   IDeviceInfo deviceInfo


An interface (IDeviceInfo) containing information about the device to lock.

Return Value

The locked device.