/// <summary> /// Provides access to <see cref="DeviceGetInforomVersion_Interop"/> /// without using raw pointers. /// </summary> public unsafe NvmlReturn DeviceGetInforomVersion( IntPtr device, NvmlInforomObject inforomObject, out string version) => GetNvmlString( (str, len) => { return(DeviceGetInforomVersion_Interop( device, inforomObject, str, len)); }, NvmlConstants.NVML_DEVICE_INFOROM_VERSION_BUFFER_SIZE, out version);
public static extern NvmlReturn NvmlDeviceGetInforomVersion( NvmlDevice device, NvmlInforomObject obj, StringBuilder version, uint length);