Show / Hide Table of Contents

Class UwpDeviceEnumerator

Inheritance
System.Object
UwpDeviceEnumerator
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Device.Net.UWP
Assembly: Device.Net.UWP.dll
Syntax
public class UwpDeviceEnumerator : IDisposable

Constructors

UwpDeviceEnumerator(String, DeviceType, TestConnection, ILoggerFactory, Func<DeviceInformation, Boolean>)

Declaration
public UwpDeviceEnumerator(string aqf, DeviceType deviceType, TestConnection testConnection, ILoggerFactory loggerFactory = null, Func<DeviceInformation, bool> idFilter = null)
Parameters
Type Name Description
System.String aqf
DeviceType deviceType
TestConnection testConnection
Microsoft.Extensions.Logging.ILoggerFactory loggerFactory
System.Func<Windows.Devices.Enumeration.DeviceInformation, System.Boolean> idFilter

Methods

Dispose()

Declaration
public void Dispose()

GetConnectedDeviceDefinitionsAsync(CancellationToken)

Declaration
public async Task<IEnumerable<ConnectedDeviceDefinition>> GetConnectedDeviceDefinitionsAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<ConnectedDeviceDefinition>>

Implements

System.IDisposable
In This Article
Back to top Generated by DocFX