public wifi() { _profiles = new FunkProfiles(); accesspointlist = new List <NearAccesPoints>(); start(); }
public void Dispose() { if (_profiles != null) { _profiles.Dispose(); _profiles = null; } //_ssAPI.Dispose(); }
private void button1_Click(object sender, EventArgs e) { try { FunkProfiles funk = new FunkProfiles(); Logger.WriteLine("current profile: " + funk.getCurrentProfile().ToString()); funk.setCurrentProfile("Profile_2"); Logger.WriteLine("current profile: " + funk.getCurrentProfile().ToString()); }catch (NotSupportedException ex) { MessageBox.Show(ex.Message); } }