Open topic with navigation

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

    public static IDevice LockDevice(
       DeviceDescription description,
       DeviceSessionOptions deviceSessionOptions
    )

Parameters

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