简体   繁体   中英

How can I check if .dll are part of the .net 2.0 Framework?

I use "user32.dll" and "kernel32" for centering a MessageBox in the center of the form. My concern is that I will have to run this app on the .net 2.0 framework and I do not know if this will be an issue. Any advice is greatly appreciated.

user32 and kernel32 are part of Windows, not of Microsoft .NET, so if you use your app on Windows the only problem could be that the specific API you are using have been introduced in newer versions of Windows. Go to MSDN and check them.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM