예제 #1
0
 protected void onStationStateChange(WLAN_HOSTED_NETWORK_PEER_STATE stationState)
 {
     if (this.StationStateChange != null)
     {
         this.StationStateChange(this, EventArgs.Empty);
     }
 }
예제 #2
0
        protected void onStationLeave(WLAN_HOSTED_NETWORK_PEER_STATE stationState)
        {
            this._Stations.Remove(stationState.PeerMacAddress.ConvertToString());

            if (this.StationLeave != null)
            {
                this.StationLeave(this, EventArgs.Empty);
            }
        }
예제 #3
0
        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);
            }
        }