void StartProgram()
        {
            Debug.Log("Init wrapper");
            var success = IRWrapper.InitWrapper();// IRWrapper.InitWrapper();


            // Debug.Log(".net version " + Application.)


            serverStarted = true;
            Debug.Log("start server " + Time.frameCount);
            Debug.Log("Unity version " + Application.version);
            Debug.Log("Unity version " + Application.unityVersion);
            memoryBridge = gameObject.AddComponent(typeof(MemoryBridge)) as MemoryBridge;
            memoryBridge.StartServer("Test");
        }
        private void Start()
        {
            //for (int i = 0; i < 1000; i++)
            //{
            //    memoryBridge.SetValue("KeyCount" + i, i);
            //}
            //Debug.Log("Values set");
            Debug.Log("Init wrapper");
            var success = IRWrapper.InitWrapper();// IRWrapper.InitWrapper();



            serverStarted = true;
            Debug.Log("start server " + Time.frameCount);
            memoryBridge = gameObject.AddComponent(typeof(MemoryBridge)) as MemoryBridge;
            memoryBridge.StartServer("Test");

            //  if ()
            //     UnityEngine.Debug.Log("Hexapod IR ready to go");
        }