protected void onStationStateChange(WLAN_HOSTED_NETWORK_PEER_STATE stationState) { if (this.StationStateChange != null) { this.StationStateChange(this, EventArgs.Empty); } }
protected void onStationLeave(WLAN_HOSTED_NETWORK_PEER_STATE stationState) { this._Stations.Remove(stationState.PeerMacAddress.ConvertToString()); if (this.StationLeave != null) { this.StationLeave(this, EventArgs.Empty); } }
protected void onStationJoin(WLAN_HOSTED_NETWORK_PEER_STATE stationState) { var pStation = new WlanStation(stationState); this._Stations[pStation.MacAddress] = pStation; if (this.StationJoin != null) { this.StationJoin(this, EventArgs.Empty); } }