예제 #1
0
        private bool IsPhotonRunningAsApp()
        {
            ProcessInfo info = PhotonHandler.GetActiveProcesses().Find(p => (p.InstanceName == "Simple") && (p.Command == ProcessInfo.PhotonCommand.RunAsApplication));

            return((info != null) && !info.Process.HasExited);
        }