Exemple #1
0
 public Device[] GetDevices(DeviceType deviceType)
 {
     UnsafeNativeMethods.ClDeviceID[] devices = UnsafeNativeMethods.GetDeviceIDs(ID, deviceType);
     return(Array.ConvertAll(devices, device => new Device(device)));
 }