.NET is written, the program running on the smart device sometimes needs to run on the PC, but some functions are different in NET and NETCF, or some other reasons, so that the program requires dynamic identification when running Is it running on Net FrameWord or a netcf of a smart device. In a project, this problem has been encountered, I originally wanted to identify the version number of NET, but did not find a suitable method. Therefore, it is temporarily used in this method, although it is not very good, but it is very effective (the principle is to run a Netcf does not support, and then do an exception decision)
Namespace minicafe.util {public class framework {///
I think there should be more orthodox way to judge this problem, continue to explore ...