摘要:
“”(十六进制值 0x1D)是无效的字符 加载或保存XML时引发的异常.System.ArgumentException: “”(十六进制值 0x1D)是无效的字符。产生原因是xml文件中包含低位非打印字符造成的处理方法:在产生xml文件的时候,过滤低位非打印字符把一个字符串中的 低序位 ASCII 字符 替换成 &#x 字符转换 ASCII 0 - 8 -> � - 转换 ASCII 11 - 12 ->  - 转换 ASCII 14 - 31 ->  - 简单的处理方法 阅读全文
posted @ 2010-11-02 19:40
herobeast
阅读(22787)
评论(0)
推荐(2)
摘要:
public class IdentityScope : IDisposable{ // obtains user token [DllImport("advapi32.dll", SetLastError = true)] static extern bool LogonUser(string pszUsername, string pszDomain, string pszPassword,int dwLogonType, int dwLogonProvider, ref IntPtr phToken); // closes open handes returned b 阅读全文
posted @ 2010-11-02 19:37
herobeast
阅读(737)
评论(0)
推荐(1)

浙公网安备 33010602011771号