/// <summary>
 /// Constructor
 /// </summary>
 /// <param name="netData">los datos de red</param>
 /// <param name="wifiInformation">el manejador de eventos</param>
 public WifiHandler(NetData netData, WifiInformationDelegate wifiInformation)
 {
     this.netData         = netData;
     this.wifiInformation = wifiInformation;
     //inicializa los objetos Wlan
     wLanClient = new WlanClient();
     wlanConnectionNotificationEventHandler   = new WlanClient.WlanInterface.WlanConnectionNotificationEventHandler(WlanConnectionAction);
     wlanAdhocNetworkNotificationEventHandler = new WlanClient.WlanInterface.WlanAdhocNetworkNotificationEventHandler(WlanAdhocNetworkAction);
     connectionState = WifiConnectionState.DISCONNECTED;
     syncPoint       = new Object();
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="netData">los datos de red</param>
 /// <param name="wifiInformation">el manejador de eventos</param>
 public WifiHandler(NetData netData, WifiInformationDelegate wifiInformation)
 {
     this.netData = netData;
     this.wifiInformation = wifiInformation;
     //inicializa los objetos Wlan
     wLanClient = new WlanClient();
     wlanConnectionNotificationEventHandler = new WlanClient.WlanInterface.WlanConnectionNotificationEventHandler(WlanConnectionAction);
     wlanAdhocNetworkNotificationEventHandler = new WlanClient.WlanInterface.WlanAdhocNetworkNotificationEventHandler(WlanAdhocNetworkAction);
     connectionState = WifiConnectionState.DISCONNECTED;
     syncPoint = new Object();
 }