On Windows 8 when I right click on a PCIE device in Device Manager, in the Details tab, under property "PCI current link speed" I can read the PCIe link speed. The same can be done for the PCIe link width.
I'd like to access this information programmatically in a C# application. How do I do that? through WMI? And will the same work on Windows 7?
Hope this kicks you a little: