ispiro
ispiro

Reputation: 27673

Detect whether Ethernet adapter is Auto-MDIX

How would I detect in code whether a computer's Ethernet port is Auto-MDIX, and therefore can use a regular Ethernet cable (-not crossover) to connect to another computer?

I've looked in NetworkInterface's properties and searched for this, but I might be using the wrong search terms.

Both .net and UWP welcome.

Upvotes: 5

Views: 7547

Answers (1)

Zac67
Zac67

Reputation: 2912

The Windows NDIS drivers are ignorant about layer 1 details such as full or half duplex and MDI/MDI-X status. Some drivers obviously expand on that so that a custom tool can display these details, but these extensions are proprietary and there's no standard way to access the information - if at all.

Upvotes: 4

Related Questions