static void Main(string[] args) { if (!Debugger.IsAttached) { Debug.WriteLine("[Available Network SSIDs]"); } NativeWifi.GetAvailableNetworkSsids().ToArray(); Debug.WriteLine("[Connected Network SSIDs]"); NativeWifi.GetConnectedNetworkSsids().ToArray(); }
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(); }