110,534
社区成员
发帖
与我相关
我的任务
分享
[DllImport(@"EncryptClass.dll")]
privatestatic extern void EncryptNet(string AContent, StringBuilder AResult, int ABufferSize);
public static string EncryptString(string pStr, int pSize)
{
int BUFFER_SIZE = pSize;
StringBuilder sb = new StringBuilder(BUFFER_SIZE);
EncryptNet(pStr, sb, BUFFER_SIZE);
return sb.ToString();}