C# Class MobileDevice.iTunesMobileDevice

Datei anzeigen Open project: nivalxer/MobileDevice

Public Methods

Method Description
AFCDirectoryOpen ( IntPtr conn, string path, IntPtr &dir ) : int
AFCDirectoryRead ( IntPtr conn, IntPtr dir, string &buffer ) : int
AMDeviceCopyValue ( IntPtr device, string domain, string name ) : object
AMDeviceRemoveValue ( IntPtr device, string domain, string name ) : bool
AMDeviceSetValue ( IntPtr device, string domain, string name, object value ) : bool
ATCFMessageCreate ( int sesssion, string strMessageType, object>.Dictionary dictParams ) : IntPtr
ATHostConnectionCreateWithLibrary ( string strPrefsValue, string strUUID ) : IntPtr
ATHostConnectionSendAssetCompleted ( IntPtr hATHost, string strPid, string strMediaType, string strFilePath ) : int
ATHostConnectionSendFileError ( IntPtr hATHost, string strPid, string strMediaType, int intType ) : int
ATHostConnectionSendFileProgress ( IntPtr hATHost, string strPid, string strMediaType, double fileProgress, double totalProgress ) : int
CFStringMakeConstantString ( string s ) : IntPtr

Private Methods

Method Description
AFCConnectionClose ( IntPtr conn ) : int
AFCConnectionGetFSBlockSize ( IntPtr conn ) : int
AFCConnectionInvalidate ( IntPtr conn ) : int
AFCConnectionIsValid ( IntPtr conn ) : int
AFCConnectionOpen ( int socket, uint io_timeout, IntPtr &conn ) : int
AFCConnectionSetSecureContext ( IntPtr device, IntPtr intResult ) : kAMDError
AFCDeviceInfoOpen ( IntPtr conn, IntPtr &dict ) : int
AFCDirectoryClose ( IntPtr conn, IntPtr dir ) : int
AFCDirectoryCreate ( IntPtr conn, string path ) : int
AFCDirectoryOpen ( IntPtr conn, byte path, IntPtr &dir ) : int
AFCDirectoryOpen ( IntPtr afcHandle, IntPtr path, IntPtr &dir ) : kAMDError
AFCDirectoryRead ( IntPtr afcHandle, IntPtr dir, IntPtr &dirent ) : int
AFCFileInfoOpen ( IntPtr conn, byte path, IntPtr &dict ) : int
AFCFileInfoOpen ( IntPtr afcHandle, IntPtr path, IntPtr &info ) : kAMDError
AFCFileRefClose ( IntPtr conn, long handle ) : int
AFCFileRefLock ( IntPtr conn, long long_0 ) : int
AFCFileRefOpen ( IntPtr conn, byte path, int mode, long &handle ) : int
AFCFileRefOpen ( IntPtr afcHandle, IntPtr path, int mode, long &handle ) : kAMDError
AFCFileRefRead ( IntPtr conn, long handle, byte buffer, uint &len ) : int
AFCFileRefSeek ( IntPtr conn, long handle, uint pos, uint origin ) : int
AFCFileRefSeek ( IntPtr afcHandle, long handle, long pos, uint origin ) : kAMDError
AFCFileRefSetFileSize ( IntPtr conn, long handle, uint size ) : int
AFCFileRefTell ( IntPtr conn, long handle, uint &position ) : int
AFCFileRefUnlock ( IntPtr afcHandle, long handle ) : kAMDError
AFCFileRefWrite ( IntPtr conn, long handle, byte buffer, uint len ) : int
AFCFlushData ( IntPtr conn, long handle ) : int
AFCGetFileInfo ( IntPtr afcHandle, IntPtr path, IntPtr &buffer, uint &length ) : kAMDError
AFCKeyValueClose ( IntPtr dict ) : int
AFCKeyValueRead ( IntPtr dict, IntPtr &key, IntPtr &val ) : int
AFCRemovePath ( IntPtr conn, byte path ) : int
AFCRemovePath ( IntPtr afcHandle, IntPtr path ) : kAMDError
AFCRenamePath ( IntPtr conn, byte old_path, byte new_path ) : int
AMDListenForNotifications ( int socket, DeviceEventSink callback, IntPtr userdata ) : kAMDError
AMDObserveNotification ( int socket, IntPtr NoticeMessage ) : int
AMDPostNotification ( int socket, IntPtr NoticeMessage, uint uint_0 ) : int
AMDServiceConnectionGetSecureIOContext ( IntPtr socket ) : int
AMDServiceConnectionGetSocket ( IntPtr socket ) : int
AMDServiceConnectionReceive ( IntPtr socket, uint &uint_0, int int_1 ) : int
AMDServiceConnectionReceive ( int inSocket, IntPtr buffer, int bufferlen ) : int
AMDServiceConnectionReceive_1 ( IntPtr socket, IntPtr intptr_0, int int_1 ) : int
AMDServiceConnectionReceive_UInt32 ( int inSocket, uint &buffer, int bufferlen ) : int
AMDServiceConnectionSend ( int inSocket, IntPtr buffer, int bufferlen ) : int
AMDServiceConnectionSend_UInt32 ( int inSocket, uint &buffer, int bufferlen ) : int
AMDeviceActivate ( IntPtr device ) : int
AMDeviceArchiveApplication ( IntPtr conn, IntPtr bundleIdentifier, IntPtr options, DeviceInstallApplicationCallback callback ) : int
AMDeviceConnect ( IntPtr device ) : int
AMDeviceCopyDeviceIdentifier ( IntPtr device ) : IntPtr
AMDeviceCopyValue_Int ( IntPtr device, IntPtr domain, IntPtr cfstring ) : IntPtr
AMDeviceDeactivate ( IntPtr device ) : int
AMDeviceDisconnect ( IntPtr device ) : int
AMDeviceEnterRecovery ( IntPtr device ) : int
AMDeviceGetConnectionID ( IntPtr device ) : int
AMDeviceGetInterfaceType ( IntPtr device ) : int
AMDeviceInstallApplication ( int socket, IntPtr path, IntPtr options, IntPtr callback, IntPtr unknow1 ) : int
AMDeviceIsPaired ( IntPtr device ) : int
AMDeviceLookupApplicationArchives ( IntPtr conn, IntPtr AppType, IntPtr &result ) : int
AMDeviceLookupApplications ( IntPtr conn, IntPtr AppType, IntPtr &result ) : int
AMDeviceNotificationSubscribe ( DeviceNotificationCallback callback, uint unused1, uint unused2, uint unused3, IntPtr &am_device_notification_ptr ) : int
AMDeviceNotificationUnsubscribe ( IntPtr am_device_notification_ptr ) : kAMDError
AMDevicePair ( IntPtr device ) : int
AMDevicePairWithOptions ( IntPtr device, IntPtr ptrOption ) : kAMDError
AMDeviceRelease ( IntPtr device ) : int
AMDeviceRemoveValue_UInt32 ( IntPtr device, IntPtr domain, IntPtr cfsKey ) : int
AMDeviceRetain ( IntPtr device ) : void
AMDeviceSecureStartService ( IntPtr device, IntPtr service_name, IntPtr unknown, IntPtr &socket ) : int
AMDeviceSetValue ( IntPtr device, IntPtr mbz, IntPtr cfstringkey, IntPtr cfstringname ) : int
AMDeviceSetValue_Int ( IntPtr device, IntPtr domain, IntPtr cfsKey, IntPtr cfsValue ) : int
AMDeviceStartService ( IntPtr device, IntPtr service_name, int &socket, IntPtr unknown ) : int
AMDeviceStartSession ( IntPtr device ) : int
AMDeviceStopSession ( IntPtr device ) : int
AMDeviceTransferApplication ( int socket, IntPtr path, IntPtr options, DeviceInstallApplicationCallback callback, IntPtr unknow1 ) : int
AMDeviceUninstallApplication ( IntPtr conn, IntPtr bundleIdentifier, IntPtr installOption, IntPtr unknown0, IntPtr unknown1 ) : int
AMDeviceUnpair ( IntPtr device ) : int
AMDeviceValidatePairing ( IntPtr device ) : int
AMRecoveryModeDeviceCopyAuthlnstallPreflightOptions ( byte byte_0, IntPtr intptr_0, IntPtr intptr_1 ) : IntPtr
AMRecoveryModeDeviceCopyIMEI ( byte device ) : IntPtr
AMRecoveryModeDeviceCopySerialNumber ( byte device ) : IntPtr
AMRecoveryModeDeviceGetLocationID ( byte device ) : int
AMRecoveryModeDeviceGetProductID ( byte device ) : int
AMRecoveryModeDeviceGetProductType ( byte device ) : int
AMRecoveryModeDeviceGetTypeID ( ) : int
AMRecoveryModeDeviceReboot ( byte device ) : int
AMRecoveryModeDeviceSetAutoBoot ( byte device, byte paramByte ) : int
AMRecoveryModeGetSoftwareBuildVersion ( ) : int
AMRestoreCreateDefaultOptions ( IntPtr allocator ) : IntPtr
AMRestoreModeDeviceCopyIMEI ( byte device ) : string
AMRestoreModeDeviceCreate ( uint unknown0, int connection_id, uint unknown1 ) : int
AMRestorePerformRecoveryModeRestore ( byte device, IntPtr dicopts, DeviceInstallApplicationCallback callback, IntPtr user_info ) : int
AMRestoreRegisterForDeviceNotifications ( DeviceDFUNotificationCallback dfu_connect, DeviceRestoreNotificationCallback recovery_connect, DeviceDFUNotificationCallback dfu_disconnect, DeviceRestoreNotificationCallback recovery_disconnect, uint unknown0, IntPtr &user_info ) : int
ATCFMessageCreate_IntPtr ( int sesssion, IntPtr hMessageType, IntPtr hParams ) : IntPtr
ATHostConnectionCreateWithLibrary_IntPtr ( IntPtr hPrefsValue, IntPtr hUUID, int unkonwn ) : IntPtr
ATHostConnectionGetCurrentSessionNumber ( IntPtr hATHost ) : int
ATHostConnectionGetGrappaSessionId ( IntPtr hATHost ) : int
ATHostConnectionReadMessage ( IntPtr hATHost ) : IntPtr
ATHostConnectionRelease ( IntPtr hATHost ) : IntPtr
ATHostConnectionSendAssetCompleted_IntPtr ( IntPtr hATHost, IntPtr hPid, IntPtr hMediaType, IntPtr hFilePath ) : IntPtr
ATHostConnectionSendFileError_IntPtr ( IntPtr hATHost, IntPtr hPid, IntPtr hMediaType, int intType ) : kAMDError
ATHostConnectionSendFileProgress_IntPtr ( IntPtr hATHost, IntPtr hPid, IntPtr hMediaType, int proc1L, int proc1H, int proc2L, int proc2H ) : kAMDError
ATHostConnectionSendHostInfo ( IntPtr hATHost, IntPtr hDictInfo ) : kAMDError
ATHostConnectionSendMetadataSyncFinished ( IntPtr hATHost, IntPtr hKeybag, IntPtr hMedia ) : kAMDError
ATHostConnectionSendPowerAssertion ( IntPtr hATHost, IntPtr allocator ) : kAMDError
ATHostConnectionSendSyncRequest ( IntPtr hATHost, IntPtr hArrDataclasses, IntPtr hDictDataclassAnchors, IntPtr hDictHostInfo ) : kAMDError
ATProcessLinkSendMessage ( IntPtr hATHost, IntPtr hATCFMessage ) : void
USBMuxConnectByPort ( int connectionID, uint iPhone_port_network_byte_order, int &outSocket ) : int
closesocket ( int inSocket ) : int
htonl ( uint hostlong ) : uint
htons ( uint hostshort ) : uint
iTunesMobileDevice ( ) : System
ntohl ( uint netlong ) : uint
recv ( int inSocket, IntPtr buffer, int bufferlen, int flags ) : int
recv_UInt32 ( int inSocket, uint &buffer, int bufferlen, int flags ) : int
send ( int inSocket, IntPtr buffer, int bufferlen, int flags ) : int
send_UInt32 ( int inSocket, uint &buffer, int bufferlen, int flags ) : int

Method Details

AFCDirectoryOpen() public static method

public static AFCDirectoryOpen ( IntPtr conn, string path, IntPtr &dir ) : int
conn System.IntPtr
path string
dir System.IntPtr
return int

AFCDirectoryRead() public static method

public static AFCDirectoryRead ( IntPtr conn, IntPtr dir, string &buffer ) : int
conn System.IntPtr
dir System.IntPtr
buffer string
return int

AMDeviceCopyValue() public static method

public static AMDeviceCopyValue ( IntPtr device, string domain, string name ) : object
device System.IntPtr
domain string
name string
return object

AMDeviceRemoveValue() public static method

public static AMDeviceRemoveValue ( IntPtr device, string domain, string name ) : bool
device System.IntPtr
domain string
name string
return bool

AMDeviceSetValue() public static method

public static AMDeviceSetValue ( IntPtr device, string domain, string name, object value ) : bool
device System.IntPtr
domain string
name string
value object
return bool

ATCFMessageCreate() public static method

public static ATCFMessageCreate ( int sesssion, string strMessageType, object>.Dictionary dictParams ) : IntPtr
sesssion int
strMessageType string
dictParams object>.Dictionary
return System.IntPtr

ATHostConnectionCreateWithLibrary() public static method

public static ATHostConnectionCreateWithLibrary ( string strPrefsValue, string strUUID ) : IntPtr
strPrefsValue string
strUUID string
return System.IntPtr

ATHostConnectionSendAssetCompleted() public static method

public static ATHostConnectionSendAssetCompleted ( IntPtr hATHost, string strPid, string strMediaType, string strFilePath ) : int
hATHost System.IntPtr
strPid string
strMediaType string
strFilePath string
return int

ATHostConnectionSendFileError() public static method

public static ATHostConnectionSendFileError ( IntPtr hATHost, string strPid, string strMediaType, int intType ) : int
hATHost System.IntPtr
strPid string
strMediaType string
intType int
return int

ATHostConnectionSendFileProgress() public static method

public static ATHostConnectionSendFileProgress ( IntPtr hATHost, string strPid, string strMediaType, double fileProgress, double totalProgress ) : int
hATHost System.IntPtr
strPid string
strMediaType string
fileProgress double
totalProgress double
return int

CFStringMakeConstantString() public static method

public static CFStringMakeConstantString ( string s ) : IntPtr
s string
return System.IntPtr