How to use MSFT_NetQosFlowControlSettingData class for specific adapter

  • Thread starter Thread starter Alexander Gurevich
  • Start date Start date
A

Alexander Gurevich

Guest
Hi,

I`m trying to get NetQosFLowControl information for specific adapter using using C++/C#.


I understand that I need to interact with MSFT_NetQosFlowControlSettingData class, but how I could get NetQosFLowControl information for specific adapter (-InterfaceAlias parameter)?
When I run PowerShell command "Get-NetQosFlowControl -InterfaceAlias "Ethernet 4"" what WMI query PowerShell does? Which WMI Objects/Methods/Properties does it access?


By enumerating properties and methods of MSFT_NetQosFlowControlSettingData class I found that it has "PolicySet" property and method "SwitchPolicySet" which takes three parameters: InterfaceAlias, InterfaceIndex, PolicySet. Those properties and method are undocumented and I don't know how to use them.

I think it could be related to the answer, but I don`t know exactly how.

Best Regards,
Alexander


Continue reading...
 
Back
Top