OneWireDevice.EnumerateDeviceIds(DeviceFamily) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerate all devices found on 1-wire busses in this system.
public static System.Collections.Generic.IEnumerable<(string busId, string devId)> EnumerateDeviceIds (Iot.Device.OneWire.DeviceFamily family = Iot.Device.OneWire.DeviceFamily.Any);
public static System.Collections.Generic.IEnumerable<(string BusId, string DevId)> EnumerateDeviceIds (Iot.Device.OneWire.DeviceFamily family = Iot.Device.OneWire.DeviceFamily.Any);
static member EnumerateDeviceIds : Iot.Device.OneWire.DeviceFamily -> seq<ValueTuple<string, string>>
Public Shared Iterator Function EnumerateDeviceIds (Optional family As DeviceFamily = Iot.Device.OneWire.DeviceFamily.Any) As IEnumerable(Of ValueTuple(Of String, String))
Parameters
- family
- DeviceFamily
Family id used to filter devices.
Returns
A list of devices found.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for