C# Class CHDKPTPRemote.Session

Afficher le fichier Open project: mweerden/CHDKPTPRemote Class Usage Examples

Méthodes publiques

Méthode Description
Connect ( ) : void
Disconnect ( ) : void
DownloadFile ( string filename ) : byte[]
ExecuteScript ( string script, bool return_string_as_byte_array = false ) : object
ListDevices ( bool only_supported = true ) : List
Session ( CHDKPTPDevice dev ) : System

Private Methods

Méthode Description
GetScriptMessage ( int script_id, bool return_string_as_byte_array, bool get_error = false ) : object

Method Details

Connect() public méthode

public Connect ( ) : void
Résultat void

Disconnect() public méthode

public Disconnect ( ) : void
Résultat void

DownloadFile() public méthode

public DownloadFile ( string filename ) : byte[]
filename string
Résultat byte[]

ExecuteScript() public méthode

public ExecuteScript ( string script, bool return_string_as_byte_array = false ) : object
script string
return_string_as_byte_array bool
Résultat object

ListDevices() public static méthode

public static ListDevices ( bool only_supported = true ) : List
only_supported bool
Résultat List

Session() public méthode

public Session ( CHDKPTPDevice dev ) : System
dev CHDKPTP.CHDKPTPDevice
Résultat System