![](/img/trans.png)
[英]How to detect internally whether the application is in console or windows mode in C#
[英]How to specify whether the windows is logged in or not in C# service application?
我已經實現了一個服務應用程序,無論是在用戶登錄時還是在Windows處於登錄模式時都能正常工作,但需要知道用戶是否已被登錄或Windows是否處於注銷模式。 我怎樣才能做到這一點?
您需要枚舉活動的登錄會話。
這個問題的答案可能有所幫助。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.