C# Syntax
public static bool TryLockDeviceByInfo( IDeviceInfo deviceInfo, out IDevice device )
Parameters
- deviceInfo
- An interface (IDeviceInfo) containing information about the device to lock.
- device
- If the method returns True, this parameter contains the locked IDevice. If the method returns False, the parameter contains a null value.
Return Value