开发者

Detecting multiple instances of XBAP Application

I have a XBAP application which I have published in IIS.

Let's say I run the application in the web browser, th开发者_Python百科en open a new tab and run the application again.

  1. How can I detect that more than one instance is running?
  2. How can I force that only one instance should run?

Thanks in advance


XBAP applications typically run in partial trust mode as well as in a "sandbox" of sorts. Because of this limitation, your program will not be able to reach out and search for other instances of itself. If you were to run in full trust, you may find yourself with more options.

Here is a bit from Microsoft about the sandbox to give you a better idea of your options. http://msdn.microsoft.com/en-us/library/aa480229.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜