C# Class CHDKPTPRemote.Session

Show file Open project: mweerden/CHDKPTPRemote Class Usage Examples

Public Methods

Method 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

Method Description
GetScriptMessage ( int script_id, bool return_string_as_byte_array, bool get_error = false ) : object

Method Details

Connect() public method

public Connect ( ) : void
return void

Disconnect() public method

public Disconnect ( ) : void
return void

DownloadFile() public method

public DownloadFile ( string filename ) : byte[]
filename string
return byte[]

ExecuteScript() public method

public ExecuteScript ( string script, bool return_string_as_byte_array = false ) : object
script string
return_string_as_byte_array bool
return object

ListDevices() public static method

public static ListDevices ( bool only_supported = true ) : List
only_supported bool
return List

Session() public method

public Session ( CHDKPTPDevice dev ) : System
dev CHDKPTP.CHDKPTPDevice
return System