We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
建议更新如下API 导入 以对不同语言操作系统的支持。
[DllImport("kernel32")] public static extern int GetPrivateProfileString(string sectionName, string key, string defaultValue, byte[] returnBuffer, int size, string filePath); [DllImport("kernel32")] public static extern long WritePrivateProfileString(string sectionName, string key, string value, string filePath);
更新为:
[DllImport("kernel32")] public static extern long WritePrivateProfileString(byte[] section, byte[] key, byte[] val, string filePath); [DllImport("kernel32")] public static extern int GetPrivateProfileString(byte[] section, byte[] key, byte[] def, byte[] retVal, int size, string filePath);
使用时请Encoding.Default.Getbytes()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
建议更新如下API 导入 以对不同语言操作系统的支持。
更新为:
使用时请Encoding.Default.Getbytes()
The text was updated successfully, but these errors were encountered: