问题描述
publicclassmsdid{[DllImport(@"E:ddaSoftEncryptDllDebugSoftEncryptDll.dll",EntryPoint="GetHardDiskSN",CharSet=CharSet.Auto,CallingConvention=CallingConvention.StdCall)]publicstaticexternStringBuilderGetHardDiskSN();}//引用DLLprotectedvoidPage_Load(objectsender,EventArgse){StringBuilderb=msdid.GetHardDiskSN();//调用DLL}
解决方案
解决方案二:
在线等!!高手请进
时间: 2024-11-03 13:20:29