Esempio n. 1
0
        static void Main(string[] args)
        {
            Client = new GameSenseClient();
            Host   = new ChromeHost(Client);

            if (args.Contains("--register"))
            {
                Host.GenerateManifest(Description, AllowedOrigins);
                Host.Register();
                Client.Register();
            }
            else if (args.Contains("--unregister"))
            {
                Host.UnRegister();
                Client.UnRegister();
            }
            else
            {
                Host.Listen();
            }
        }
Esempio n. 2
0
 public ChromeHost(GameSenseClient client) : base(SendConfirmationReceipt)
 {
     Client = client;
 }