Click or drag to resize

wclWiFiDirectClient Class

The WiFi Direct Client allows to connect to other WiFi Direct devices.
Inheritance Hierarchy

Namespace: wclWiFi
Assembly: wclWiFiFramework (in wclWiFiFramework.dll) Version: 7.13.1.0 (7.13.1.0)
Syntax
public class wclWiFiDirectClient : wclWiFiDirectConnectionComponent

The wclWiFiDirectClient type exposes the following members.

Constructors
 NameDescription
Public methodwclWiFiDirectClient Creates a new WiFi Direct Client component.
Top
Properties
 NameDescription
Protected propertyHardwareAvailable Gets the Hardware Available flag.
(Inherited from wclCustomWiFiDirectComponent)
Public propertyLocalAddress Gets local IP address for the connection.
Public propertyMessageProcessing Gets and sets a message processing method that should be used by the WiFi Sniffer.
(Inherited from wclCustomWiFiDirectComponent)
Protected propertyReceiver Gets the message receiver object.
(Inherited from wclCustomWiFiDirectComponent)
Public propertyRemoteAddress Gets remote IP address for the connection.
Public propertyState Gets a client state.
Top
Methods
 NameDescription
Public methodConnect Connect to remote WiFi Direct device.
Public methodDisconnect Disconnect from the connected remote WiFi Direct device.
Protected methodDoDeviceConnected Fires the OnDeviceConnected event.
(Overrides wclWiFiDirectConnectionComponentDoDeviceConnected(wclWiFiDirectDevice, Int32))
Protected methodDoDeviceDisconnected Fires the OnDeviceDisconnected event.
(Overrides wclWiFiDirectConnectionComponentDoDeviceDisconnected(wclWiFiDirectDevice, Int32))
Protected methodDoPairCompleted Fires the OnPairComplete event.
(Inherited from wclWiFiDirectConnectionComponent)
Protected methodDoPairConfirm Fires the OnPairConfirm event.
(Inherited from wclWiFiDirectConnectionComponent)
Protected methodDoPairDisplayPin Fires the OnPairDisplayPin event.
(Inherited from wclWiFiDirectConnectionComponent)
Protected methodDoPairGetParams Fires the OnPairGetParams event.
(Inherited from wclWiFiDirectConnectionComponent)
Protected methodDoPairProvidePin Fires the OnPairProvidePin event.
(Inherited from wclWiFiDirectConnectionComponent)
Public methodEqualsDetermines whether the specified Object is equal to the current Object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Protected methodFindDevice Gets device object by its ID.
(Overrides wclWiFiDirectConnectionComponentFindDevice(String))
Public methodGetHashCodeServes as a hash function for a particular type.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodHardwareRemoved The method called when WiFi hardware has been switched off or removed.
(Overrides wclCustomWiFiDirectComponentHardwareRemoved)
Protected methodInitWlan Initializes native WLAN subsystem.
(Inherited from wclCustomWiFiDirectComponent)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodMessageReceived The method called when a new notification message received.
(Inherited from wclWiFiDirectConnectionComponent)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Protected methodUninitWlan Uninitializes native WLAN subsystem.
(Inherited from wclCustomWiFiDirectComponent)
Top
Events
 NameDescription
Public eventOnDeviceConnected The event fires when a remote WiFi enabled device has been connected to the WiFi Direct Advertiser.
(Inherited from wclWiFiDirectConnectionComponent)
Public eventOnDeviceDisconnected The event fires when the remote WiFi enabled device has been disconnected from the WiFi Direct Advertiser.
(Inherited from wclWiFiDirectConnectionComponent)
Public eventOnPairCompleted The event fires when pairing with a remote WiFi enabled device has been completed (with or without success).
(Inherited from wclWiFiDirectConnectionComponent)
Public eventOnPairConfirm The event fires when a remote WiFi enabled device requests simple pairing confirmation.
(Inherited from wclWiFiDirectConnectionComponent)
Public eventOnPairDisplayPin The event fires when a remote WiFi enabled device requests the Display Pin pairing procedure. An application must show the Pin received from the event.
(Inherited from wclWiFiDirectConnectionComponent)
Public eventOnPairGetParams The event fires when pairing parameters need to be set.
(Inherited from wclWiFiDirectConnectionComponent)
Public eventOnPairProvidePin The event fires when a remote WiFi enabled device requests Pin for pairing. An application must provide Pin.
(Inherited from wclWiFiDirectConnectionComponent)
Top
See Also