Is it possible to view wireless networks using c3?
I have tried 'Managed with WIFI' but have had no luck.
Anyone else done this before?
Is it possible to view wireless networks using c3?
I have tried 'Managed with WIFI' but have had no luck.
Anyone else done this before?
What do you mean by "view wireless networks"?
I want to be able to view 'available wireless networks' that my wifi card can see so I can ping them in order to check for connectivity.
I successfully managed to scan for available wireless networks using the following;
using NativeWifi;
using System.Net;
using System.Net.NetworkInformation;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
static string GetStringForSSID(Wlan.Dot11Ssid ssid)
{
return Encoding.ASCII.GetString(ssid.SSID, 0, (int)ssid.SSIDLength);
}
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
comboBox1.Items.Clear();
WlanClient client = new WlanClient();
foreach (WlanClient.WlanInterface wlanIface in client.Interfaces)
{
// Lists all networks
Wlan.WlanAvailableNetwork[] networks = wlanIface.GetAvailableNetworkList(0);
foreach (Wlan.WlanAvailableNetwork network in networks)
comboBox1.Items.Add(GetStringForSSID(network.dot11Ssid));
}
}
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
{
}
}
}
Does anybody know of a way to connect to these networks so I can ping them or FTP files?
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.