Пример #1
0
        public unsafe void ReConnect()
        {
            int num = MobileDevice.AFCConnectionClose(this.hAFC);

            num = MobileDevice.AMDeviceStopSession(this.iPhoneHandle);
            num = MobileDevice.AMDeviceDisconnect(this.iPhoneHandle);
            this.ConnectToPhone();
        }