mnscript
TargetDevice Device.FindTarget(string)
Description ​
Finds a connected Target Device
Arguments ​
string
- The device name to search for
Returns ​
TargetDevice
- The found device
Example ​
msc
using Device;
// Finds a target device with the name "My Target"
TargetDevice target = Device.FindTarget("My Target");