C# Class MK.MobileDevice.iTMDiPhone

Afficher le fichier Open project: exaphaser/MK.MobileDevice Class Usage Examples

Méthodes publiques

Méthode Description
ConnectViaHouseArrest ( ) : void
Copy ( string sourceName, string destName ) : void
CreateDirectory ( string path ) : bool
DeleteDirectory ( string path ) : void
DeleteDirectory ( string path, bool recursive ) : void
DeleteFile ( string path ) : void
DeleteFromDevice ( String fullName ) : void

Deletes the device item specified in parameter "fullname".

DisableWiFiConnection ( ) : bool
EnableWiFiConnection ( ) : bool
EnterDFU ( ) : void
EnterRecovery ( ) : void
Exists ( string path ) : bool
ExitRecovery ( ) : void
FileSize ( string path ) : ulong
FileType ( string path ) : FileTypes

Returns the file type (enum FileType) of the specified file or directory.

GetCurrentDirectory ( ) : string
GetDirectories ( string path ) : string[]
GetDirectoryRoot ( string path ) : string
GetFileInfo ( string path ) : string>.Dictionary
GetFileInfo ( string path, ulong &size, bool &directory ) : void
GetFileInfoDetails ( string path, int &size, FileTypes &fileType ) : void

Returns the size and type of the specified file or directory.

GetFiles ( string path ) : string[]
InitLibiMobileDevice ( ) : void
IsDirectory ( string path ) : bool
IsFile ( string path ) : bool
IsLink ( string path ) : bool
ReConnect ( ) : void
Rename ( string sourceName, string destName ) : bool
RequestProperty ( string key ) : string
RequestProperty ( string domain, string key ) : string
SetCurrentDirectory ( string path ) : void
iTMDiPhone ( ) : System
sendCommandToDevice ( string Command ) : void
sendFileToDevice ( string Filename ) : void

Méthodes protégées

Méthode Description
OnConnect ( MK.MobileDevice.ITMDConnectEventArgs args ) : void
OnDfuConnect ( MK.MobileDevice.DeviceNotificationEventArgs args ) : void
OnDfuDisconnect ( MK.MobileDevice.DeviceNotificationEventArgs args ) : void
OnDisconnect ( MK.MobileDevice.ITMDConnectEventArgs args ) : void
OnRecoveryModeEnter ( MK.MobileDevice.DeviceNotificationEventArgs args ) : void
OnRecoveryModeLeave ( MK.MobileDevice.DeviceNotificationEventArgs args ) : void

Private Methods

Méthode Description
ConnectToPhone ( ) : bool
DfuConnectCallback ( MK.MobileDevice.AMRecoveryDevice &callback ) : void
DfuDisconnectCallback ( MK.MobileDevice.AMRecoveryDevice &callback ) : void
FullPath ( string path1, string path2 ) : string
Get_st_ifmt ( string path ) : string
InternalDeleteDirectory ( string path ) : void
NotifyCallback ( MK.MobileDevice.ITMDAMDeviceNotificationCallbackInfo &callback ) : void
RecoveryConnectCallback ( AMRecoveryDevice &callback ) : void
RecoveryDisconnectCallback ( AMRecoveryDevice &callback ) : void
doConstruction ( ) : void
getDeviceHandle ( ) : void
updateDeviceList ( ) : void

Method Details

ConnectViaHouseArrest() public méthode

public ConnectViaHouseArrest ( ) : void
Résultat void

Copy() public méthode

public Copy ( string sourceName, string destName ) : void
sourceName string
destName string
Résultat void

CreateDirectory() public méthode

public CreateDirectory ( string path ) : bool
path string
Résultat bool

DeleteDirectory() public méthode

public DeleteDirectory ( string path ) : void
path string
Résultat void

DeleteDirectory() public méthode

public DeleteDirectory ( string path, bool recursive ) : void
path string
recursive bool
Résultat void

DeleteFile() public méthode

public DeleteFile ( string path ) : void
path string
Résultat void

DeleteFromDevice() public méthode

Deletes the device item specified in parameter "fullname".
public DeleteFromDevice ( String fullName ) : void
fullName String The full directory path and name of the item to remove.
Résultat void

DisableWiFiConnection() public méthode

public DisableWiFiConnection ( ) : bool
Résultat bool

EnableWiFiConnection() public méthode

public EnableWiFiConnection ( ) : bool
Résultat bool

EnterDFU() public méthode

public EnterDFU ( ) : void
Résultat void

EnterRecovery() public méthode

public EnterRecovery ( ) : void
Résultat void

Exists() public méthode

public Exists ( string path ) : bool
path string
Résultat bool

ExitRecovery() public méthode

public ExitRecovery ( ) : void
Résultat void

FileSize() public méthode

public FileSize ( string path ) : ulong
path string
Résultat ulong

FileType() public méthode

Returns the file type (enum FileType) of the specified file or directory.
public FileType ( string path ) : FileTypes
path string The file or directory for which to obtain the file type.
Résultat FileTypes

GetCurrentDirectory() public méthode

public GetCurrentDirectory ( ) : string
Résultat string

GetDirectories() public méthode

public GetDirectories ( string path ) : string[]
path string
Résultat string[]

GetDirectoryRoot() public méthode

public GetDirectoryRoot ( string path ) : string
path string
Résultat string

GetFileInfo() public méthode

public GetFileInfo ( string path ) : string>.Dictionary
path string
Résultat string>.Dictionary

GetFileInfo() public méthode

public GetFileInfo ( string path, ulong &size, bool &directory ) : void
path string
size ulong
directory bool
Résultat void

GetFileInfoDetails() public méthode

Returns the size and type of the specified file or directory.
public GetFileInfoDetails ( string path, int &size, FileTypes &fileType ) : void
path string The file or directory for which to retrieve information.
size int Returns the size of the specified file or directory
fileType FileTypes Returns the size of the specified file or directory
Résultat void

GetFiles() public méthode

public GetFiles ( string path ) : string[]
path string
Résultat string[]

InitLibiMobileDevice() public méthode

public InitLibiMobileDevice ( ) : void
Résultat void

IsDirectory() public méthode

public IsDirectory ( string path ) : bool
path string
Résultat bool

IsFile() public méthode

public IsFile ( string path ) : bool
path string
Résultat bool

IsLink() public méthode

public IsLink ( string path ) : bool
path string
Résultat bool

OnConnect() protected méthode

protected OnConnect ( MK.MobileDevice.ITMDConnectEventArgs args ) : void
args MK.MobileDevice.ITMDConnectEventArgs
Résultat void

OnDfuConnect() protected méthode

protected OnDfuConnect ( MK.MobileDevice.DeviceNotificationEventArgs args ) : void
args MK.MobileDevice.DeviceNotificationEventArgs
Résultat void

OnDfuDisconnect() protected méthode

protected OnDfuDisconnect ( MK.MobileDevice.DeviceNotificationEventArgs args ) : void
args MK.MobileDevice.DeviceNotificationEventArgs
Résultat void

OnDisconnect() protected méthode

protected OnDisconnect ( MK.MobileDevice.ITMDConnectEventArgs args ) : void
args MK.MobileDevice.ITMDConnectEventArgs
Résultat void

OnRecoveryModeEnter() protected méthode

protected OnRecoveryModeEnter ( MK.MobileDevice.DeviceNotificationEventArgs args ) : void
args MK.MobileDevice.DeviceNotificationEventArgs
Résultat void

OnRecoveryModeLeave() protected méthode

protected OnRecoveryModeLeave ( MK.MobileDevice.DeviceNotificationEventArgs args ) : void
args MK.MobileDevice.DeviceNotificationEventArgs
Résultat void

ReConnect() public méthode

public ReConnect ( ) : void
Résultat void

Rename() public méthode

public Rename ( string sourceName, string destName ) : bool
sourceName string
destName string
Résultat bool

RequestProperty() public méthode

public RequestProperty ( string key ) : string
key string
Résultat string

RequestProperty() public méthode

public RequestProperty ( string domain, string key ) : string
domain string
key string
Résultat string

SetCurrentDirectory() public méthode

public SetCurrentDirectory ( string path ) : void
path string
Résultat void

iTMDiPhone() public méthode

public iTMDiPhone ( ) : System
Résultat System

sendCommandToDevice() public méthode

public sendCommandToDevice ( string Command ) : void
Command string
Résultat void

sendFileToDevice() public méthode

public sendFileToDevice ( string Filename ) : void
Filename string
Résultat void