wclWiFiProfilesManagerSetProfileUserData Method |
Sets the custom user data associated with a
profile.
Namespace: wclWiFiAssembly: wclWiFiFramework (in wclWiFiFramework.dll) Version: 7.13.1.0 (7.13.1.0)
Syntaxpublic int SetProfileUserData(
Guid IfaceId,
string ProfileName,
byte[] Data
)
Public Function SetProfileUserData (
IfaceId As Guid,
ProfileName As String,
Data As Byte()
) As Integer
public:
int SetProfileUserData(
Guid IfaceId,
String^ ProfileName,
array<unsigned char>^ Data
)
Parameters
- IfaceId Guid
- The ID of the interface.
- ProfileName String
- The name of the profile associated with the
custom user data. Profile names are case-sensitive.
- Data Byte
- A bytes array of the user data to be set.
Return Value
Int32 If the function succeeds, the return value is
WCL_E_SUCCESS. If the function fails, the return value
may be one of the WCL return codes.
Remarks For every wireless WLAN profile used by the Native Wifi
AutoConfig service, Windows maintains the concept of custom user data.
This custom user data is initially non-existent, but can be set by
calling the SetProfileUserData method. The custom user data
gets reset to empty any time the profile is modified by calling the
SetProfile method.
Once custom user data has been set, this data can be accessed
using the GetProfileUserData method.
See Also