Esempio n. 1
0
        public override void Initialize(HttpServerModule server)
        {
            base.Initialize(server);
            server.RegisterHttpRequestHandler("info", OnGetMstInfoJsonHttpRequestHandler);

            info = new Dictionary <string, string>
            {
                { "Device Id", SystemInfo.deviceUniqueIdentifier },
                { "Device Model", SystemInfo.deviceModel },
                { "Device Name", SystemInfo.deviceName },
                { "Graphics Device Name", SystemInfo.graphicsDeviceName },
                { "Graphics Device Version", SystemInfo.graphicsDeviceVersion },
                { "...", "etc." },
            };
        }
Esempio n. 2
0
 public override void Initialize(HttpServerModule server)
 {
     base.Initialize(server);
     server.RegisterHttpRequestHandler("home", OnHomeHttpRequestHandler);
 }
Esempio n. 3
0
 public override void Initialize(HttpServerModule server)
 {
     base.Initialize(server);
     server.RegisterHttpRequestHandler("info", OnGetMstInfoHttpRequestHandler);
 }