wclWiFiDirectDeviceWatcherIsPaired Method |
Gets The WiFi Direct device's pairing status.
Namespace: wclWiFiAssembly: wclWiFiFramework (in wclWiFiFramework.dll) Version: 7.13.1.0 (7.13.1.0)
Syntaxpublic int IsPaired(
string Id,
out bool Paired
)
Public Function IsPaired (
Id As String,
<OutAttribute> ByRef Paired As Boolean
) As Integer
public:
int IsPaired(
String^ Id,
[OutAttribute] bool% Paired
)
Parameters
- Id String
- The WiFi Direct device's ID.
- Paired Boolean
- If the method completed with success on output
contains information about WiFi Direct pairing status. True if
the WiFi Direct device is paired. False otherwise.
Return Value
Int32 If the function succeed the return value is
WCL_E_SUCCESS. Otherwise the method returns one of
the WCL error codes.
See Also