Property DeviceNumber
DeviceNumber
Gets the device number of the GPU.
public int DeviceNumber { get; }
Property Value
Examples
Accessing the Device Number
int number = deviceInfo.DeviceNumber;
Console.WriteLine($"Device Number: {number}");
Gets the device number of the GPU.
public int DeviceNumber { get; }
Accessing the Device Number
int number = deviceInfo.DeviceNumber;
Console.WriteLine($"Device Number: {number}");