예제 #1
0
        private static void RegisterMyselfOnOtherDevice()
        {
            var device = GetAutoRemoteLocalDevice();

            //Instantiate Registration Request
            RequestSendRegistration request = new RequestSendRegistration();

            //Send registration request
            request.Send(device);
        }
예제 #2
0
        private static void RegisterMyselfOnOtherDevice()
        {
            //Instantiate Device (device to send stuff to). In a proper app this device should have been created with a received RequestSendRegistration
            String personalKey = "DEVICE'S PERSONAL KEY"; //see how to get it here http://joaoapps.com/autoremote/personal

            Device device = new Device {
                localip = "192.168.1.64", port = "1817", key = personalKey
            };

            //Instantiate Registration Request
            RequestSendRegistration request = new RequestSendRegistration();

            //Send registration request
            request.Send(device);
        }