Example #1
0
 public static Platform[] GetPlatforms()
 {
     UnsafeNativeMethods.ClPlatformID[] platforms = UnsafeNativeMethods.GetPlatformIDs();
     return(Array.ConvertAll(platforms, platform => new Platform(platform)));
 }