UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:wcndevice.IWCNDevice.SetNetworkProfile |
IWCNDevice::SetNetworkProfile (wcndevice.h) |
The IWCNDevice::SetNetworkProfile method queues an XML WLAN profile to be provisioned to the device. This method may only be called prior to IWCNDevice::Connect. |
|
wcn\iwcndevice_setnetworkprofile.htm |
wcn |
267aa55a-005d-4db8-9569-f8ee77a15168 |
12/05/2018 |
IWCNDevice interface [Windows Connect Now],SetNetworkProfile method, IWCNDevice.SetNetworkProfile, IWCNDevice::SetNetworkProfile, SetNetworkProfile, SetNetworkProfile method [Windows Connect Now], SetNetworkProfile method [Windows Connect Now],IWCNDevice interface, wcn.iwcndevice_setnetworkprofile, wcndevice/IWCNDevice::SetNetworkProfile |
wcndevice.h |
Windows |
Windows 7 [desktop apps only] |
None supported |
WcnDevice.idl |
Windows |
19H1 |
|
|
|
|
|
|
The IWCNDevice::SetNetworkProfile method queues an XML WLAN profile to be provisioned to the device. This method may only be called prior to IWCNDevice::Connect.
The XML WLAN profile XML string.
This method can return one of these values.
Return code | Description |
---|---|
|
The attribute was retrieved successfully. |
|
The WLAN profile is not supported for WCN connections. |
|
The provided XML profile cannot be read. |
Currently, the Windows Connect Now API (WCNAPI) supports the following profile types:
- None (Open or Shared)
- WEP (Open or Shared)
- WPA-PSK (TKIP or AES)
- WPA2-PSK (TKIP or AES)