需要WlanSetProfileEapXmlUserData和WlanSetProfileEapUserData示例帮助 [英] WlanSetProfileEapXmlUserData and WlanSetProfileEapUserData example help required
问题描述
我们面临的问题完全相同。
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/f1a62f21-5caf-4fe8- 9c2f-30b709da6992 / wlansetprofileeapxmluserdata-under-windows7?forum = vistawirelesssdk
我们使用wlanapi.dll并在调试和发布时调用wlansetprofileeapxmluserdata。 system.ComponentModel.Win32Exception(0x80004005):MethodName:WlanDeleteProfile,ErrorCode:1206,ErrorMessage:网络连接配置文件已损坏。在$ WinGativeWifi中,
。 Win32.BaseMethod.SetEAPXmlUserData(SafeClientHandle clientHandle,Guid interfaceId,String profileName,String profilleSecurityLevel,String userXML)
问题在Windows10 x64上的C#中调用wlansetprofileeapxmluserdata。 请告知是否有关于如何使用C#设置Exxmluserdata的线索。
并建议使用C#为wlansetprofileeapuserdata提供任何示例。
环境:VS 2017 professional,C#,nativiewifi api,wlanapi.dll, windows10 x64,x86和windows 7.
您好MSReddy.Lenovo,
感谢您在此发帖。
>> 如果有任何关于如何使用C#设置Exxmluserdata的线索,请提供
建议。
如果您想阅读/设置EAP数据,可以参考以下博客。
>>并建议任何示例wlansetprofileeapuserdata使用C#。
WlanSetProfileEapXmlUserData函数通过XML字符串设置指定
的可扩展身份验证协议(EAP)用户凭据,此链接显示示例XML配置文件。
https://msdn.microsoft.com/en-us/library/windows/desktop/aa369853(v = vs.85).aspx
你可以运行 处理
监视器 < span style ="font-size:9pt; font-family:Verdana,sans-serif"> 检查配置文件是否已写入注册表项。
最好的问候,
温迪跨度>
We are facing exact same issue as like this.
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/f1a62f21-5caf-4fe8-9c2f-30b709da6992/wlansetprofileeapxmluserdata-under-windows7?forum=vistawirelesssdk
We using wlanapi.dll and issue on debug and release on invoking wlansetprofileeapxmluserdata. system.ComponentModel.Win32Exception(0x80004005):MethodName: WlanDeleteProfile, ErrorCode: 1206, ErrorMessage: The network connection profile is corrupted.
at WinNativeWifi.Win32.BaseMethod.SetEAPXmlUserData(SafeClientHandle clientHandle, Guid interfaceId, String profileName, String profilleSecurityLevel, String userXML)
Issue on this invoking wlansetprofileeapxmluserdata in C# on windows10 x64. Please advise if any clues on how to setEAPxmluserdata using C#.
And, advise any example for wlansetprofileeapuserdata using C#.
Environment: VS 2017 professional, C#, nativiewifi api, wlanapi.dll, windows10 x64, x86, and windows 7.
Hi MSReddy.Lenovo,
Thank you for posting here.
>> Please advise if any clues on how to setEAPxmluserdata using C#.
If you want to read/set EAP data, you could refer to the following blog.
>>And, advise any example for wlansetprofileeapuserdata using C#.
The WlanSetProfileEapXmlUserData function sets the Extensible Authentication Protocol (EAP) user credentials as specified by an XML string, this link show sample XML profiles.
https://msdn.microsoft.com/en-us/library/windows/desktop/aa369853(v=vs.85).aspxAnd you could run Process Monitor to check if the profile has been written to the registry key.
Best Regards,
Wendy
这篇关于需要WlanSetProfileEapXmlUserData和WlanSetProfileEapUserData示例帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!