Skip to content

Not getting interfaces #36

@pierreSLA

Description

@pierreSLA

Hi.
I'm polling the wifi status every 5s. After a while i don't get any interfaces.
Example:
private IEnumerable<WifiAdapterType> GetActiveWlanInterfacesAndSensors(string filter = "") { var client = new SimpleWifi.Win32.WlanClient(); if (client.Interfaces == null) yield break; foreach (var iface in client.Interfaces.Where(x => !InvalidStates.Contains(x.InterfaceState))) {
I come always into the break.
If i try the same in a new process at the same time (breaking in the debug), it works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions