Méthode | Description | |
---|---|---|
Connect ( |
Connects to the specified wireless network. The method returns immediately. Progress is reported through the WlanNotification event. |
|
Connect ( |
Requests a connection (association) to the specified wireless network. The method returns immediately. Progress is reported through the WlanNotification event. |
|
ConnectSynchronously ( |
Connects (associates) to the specified wireless network, returning either on a success to connect or a failure.
|
|
DeleteProfile ( string profileName ) : void |
Deletes a profile.
|
|
Disconnect ( ) : void |
Disconnects to a network
|
|
GetAvailableNetworkList ( |
Retrieves the EventList of available networks.
|
|
GetNetworkBssList ( ) : NativeWifi.Wlan.WlanBssEntry[] |
Retrieves the basic service sets (BSS) EventList of all available networks.
|
|
GetNetworkBssList ( |
Retrieves the basic service sets (BSS) EventList of the specified network.
|
|
GetProfileXml ( string profileName ) : string |
Gets the profile'line XML specification.
|
|
GetProfiles ( ) : NativeWifi.Wlan.WlanProfileInfo[] |
Gets the information of all profiles on this interface.
|
|
Scan ( ) : void |
Requests a scan for available networks. The method returns immediately. Progress is reported through the WlanNotification event. |
|
SetProfile ( |
Sets the profile.
|
|
UpdateSSIDs ( |
Méthode | Description | |
---|---|---|
Connect ( |
Connects to a network defined by a connection parameters structure.
|
Méthode | Description | |
---|---|---|
ConvertAvailableNetworkListPtr ( |
Converts a pointer to a available networks EventList (header + entries) to an array of available network entries.
|
|
ConvertBssListPtr ( |
Converts a pointer to a BSS EventList (header + entries) to an array of BSS entries.
|
|
EnqueueEvent ( object queuedEvent ) : void |
Enqueues a notification event to be processed serially.
|
|
GetInterfaceInt ( |
Gets a parameter of the interface whose data type is int.
|
|
OnWlanConnection ( |
||
OnWlanNotification ( |
||
OnWlanReason ( |
||
SetInterfaceInt ( |
Sets a parameter of the interface whose data type is int.
|
|
WlanInterface ( |
||
sameSSID ( byte ssid1, byte ssid2 ) : bool |
protected Connect ( |
||
connectionParams | The connection paramters. | |
Résultat | void |
public Connect ( |
||
connectionMode | ||
bssType | ||
ssid | ||
flags | ||
Résultat | void |
public Connect ( |
||
connectionMode | ||
bssType | ||
profile | string | |
Résultat | void |
public ConnectSynchronously ( |
||
connectionMode | ||
bssType | ||
profile | string | |
connectTimeout | int | |
Résultat | bool |
public DeleteProfile ( string profileName ) : void | ||
profileName | string |
/// The name of the profile to be deleted. Profile names are case-sensitive.
/// On Windows XP SP2, the supplied name must match the profile name derived automatically from the SSID of the network. For an infrastructure network profile, the SSID must be supplied for the profile name. For an ad hoc network profile, the supplied name must be the SSID of the ad hoc network followed by |
Résultat | void |
public GetAvailableNetworkList ( |
||
flags | Controls the type of networks returned. | |
Résultat | NativeWifi.Wlan.WlanAvailableNetwork[] |
public GetNetworkBssList ( ) : NativeWifi.Wlan.WlanBssEntry[] | ||
Résultat | NativeWifi.Wlan.WlanBssEntry[] |
public GetNetworkBssList ( |
||
ssid | Specifies the SSID of the network from which the BSS EventList is requested. | |
bssType | Indicates the BSS type of the network. | |
securityEnabled | bool | Indicates whether security is enabled on the network. |
Résultat | NativeWifi.Wlan.WlanBssEntry[] |
public GetProfileXml ( string profileName ) : string | ||
profileName | string | The name of the profile. |
Résultat | string |
public GetProfiles ( ) : NativeWifi.Wlan.WlanProfileInfo[] | ||
Résultat | NativeWifi.Wlan.WlanProfileInfo[] |
public SetProfile ( |
||
flags | The flags to set on the profile. | |
profileXml | string | The XML representation of the profile. On Windows XP SP 2, special care should be taken to adhere to its limitations. |
overwrite | bool | If a profile by the given name already exists, then specifies whether to overwrite it (if |
Résultat | Wlan.WlanReasonCode |