string DeviceManufacturer = null;
string DeviceOui = null;
string DeviceProductClass = null;
string DeviceSerialNumber = null;
string Event = null;
string CurrentTime = null;
string RetryCount = null;
string Inform = postData;
XmlDocument cwmpDocument = new XmlDocument();
cwmpDocument.LoadXml(cwmpXml);
XmlElement cwmproot = cwmpDocument.DocumentElement;
string cmwpNameSpace = cwmproot.NamespaceURI;
XmlNamespaceManager cwmpNsmgr = new XmlNamespaceManager(cwmpDocument.NameTable);
cwmpNsmgr.AddNamespace("soap", cmwpNameSpace);
cwmpNsmgr.AddNamespace("xsd", cmwpNameSpace);
cwmpNsmgr.AddNamespace("cwmp", cmwpNameSpace);
cwmpNsmgr.AddNamespace("soapenv", cmwpNameSpace);
cwmpNsmgr.AddNamespace("xsi", cmwpNameSpace);
DeviceManufacturer = cwmpDocument.SelectSingleNode(@"/cwmp:Inform/DeviceId/Manufacturer", cwmpNsmgr).InnerText;
DeviceOui = cwmpDocument.SelectSingleNode(@"/cwmp:Inform/DeviceId/OUI", cwmpNsmgr).InnerText;
DeviceProductClass = cwmpDocument.SelectSingleNode(@"/cwmp:Inform/DeviceId/ProductClass", cwmpNsmgr).InnerText;
DeviceSerialNumber = cwmpDocument.SelectSingleNode(@"/cwmp:Inform/DeviceId/SerialNumber", cwmpNsmgr).InnerText;
Event = cwmpDocument.SelectSingleNode(@"/cwmp:Inform/Event", cwmpNsmgr).InnerXml;
CurrentTime = cwmpDocument.SelectSingleNode(@"/cwmp:Inform/CurrentTime", cwmpNsmgr).InnerText;
RetryCount = cwmpDocument.SelectSingleNode(@"/cwmp:Inform/RetryCount", cwmpNsmgr).InnerText;
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 使用C#创建一个MCP客户端
· ollama系列1:轻松3步本地部署deepseek,普通电脑可用
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 按钮权限的设计及实现
2018-05-12 等待资源时检测到死锁