I'm writing a small network management tool. In order to pull out the details for various WiFi networks, I'm making calls to the `wlanapi.dll, WlanGetProfile(...)` API method to get the profile information for each available WiFi network.

Assuming two local WiFi networks have similar SSIDs, how can I query information on these two networks and distinguish between the two when I present the information to the user?

I am writing my app in C#, however, generalized details that are not code-specific can be provided if they will give me the answers that I needed. However, I'm tagging this as C#/.Net because if there is a way to get this information using native .Net libraries, I'd appreciate C# code samples.