A managed implementation of Native Wifi API
Exemplo n.º 1
0
        static void Main(string[] args)
        {
            if (!Debugger.IsAttached)
            {
                Debug.WriteLine("[Available Network SSIDs]");
            }
            NativeWifi.GetAvailableNetworkSsids().ToArray();

            Debug.WriteLine("[Connected Network SSIDs]");
            NativeWifi.GetConnectedNetworkSsids().ToArray();
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            if (!Debugger.IsAttached)
            {
                Debug.Listeners.Add(new TextWriterTraceListener(Console.Out));
            }

            Debug.WriteLine("[Available Network SSIDs]");
            NativeWifi.GetAvailableNetworkSsids().ToArray();

            Debug.WriteLine("[Connected Network SSIDs]");
            NativeWifi.GetConnectedNetworkSsids().ToArray();
        }