在Compact Framework中制作单个实例应用程序的最佳方法是什么? [英] What is the best way to make a single instance application in Compact Framework?
问题描述
我已经看到了标准框架的所有答案
I've seen all the answers for the standard framework
>什么是正确的创建方法一个实例应用程序?
是防止.NET中给定应用程序的多个实例吗?
什么是在.net中制作单个实例应用程序的最佳方法?
What is the correct way to create a single instance application?
Prevent multiple instances of a given app in .NET?
What is the best way to make a single instance application in .net?
如何使用紧凑型框架检查是否存在具有相同名称的另一个进程?
CF不支持3参数构造函数
CF不支持Process GetProcessByName
How do I check whether another process with the same name exists using the compact framework?
The 3 parameter constructor is not supported by the CF
Process GetProcessByName is not supported by the CF
推荐答案
OpenNETCF为您提供了类OpenNETCF.Threading.NamedMutex,让您可以创建系统范围内的互斥体.
OpenNETCF gives you class OpenNETCF.Threading.NamedMutex that let's you create system-wide named mutex.
http://www.opennetcf .com/library/sdf/html/40db385b-e21b-7c38-6f22-7a7954a30aa2.htm
这篇关于在Compact Framework中制作单个实例应用程序的最佳方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!