Device.FindMetalDetector
Skip to content
mnscript
MetalDetectorDevice Device.FindMetalDetector(string) 

Description ​

Finds a connected Metal Detector Device

Arguments ​

string - The device name to search for

Returns ​

MetalDetectorDevice - The found device

Example ​

msc
using Device;

// Finds a metal detector device with the name "My Metal Detector"
MetalDetectorDevice detector = Device.FindMetalDetector("My Metal Detector");