1
Vote

Dot11Ssid needs a StructLayout to avoid Resharper damage

description

The Dot11Ssid struct should be tagged with a [StructLayout(LayoutKind.Sequential)] attribute. Otherwise, someone is going to run Resharper on Interop.cs, and Resharper is going to rearrange the two members of this struct, causing the SSID name to contain the length bytes and the length to show up as 0 or garbage.

comments