Click or drag to resize
ICameraV2CommandString Method
Transmits an arbitrary string to the device and waits for a string response. Optionally, protocol framing characters may be added to the string before transmission.

Namespace: ASCOM.DeviceInterface
Assembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: (
string CommandString(
	string Command,
	bool Raw = false


Type: SystemString
The literal command string to be transmitted.
Raw (Optional)
Type: SystemBoolean
if set to true the string is transmitted 'as-is'. If set to false then protocol framing characters may be added prior to transmission.

Return Value

Type: String
Returns the string response received from the device.
MethodNotImplementedExceptionIf the method is not implemented
NotConnectedExceptionIf the driver is not connected.
DriverExceptionMust throw an exception if the call was not successful

May throw a MethodNotImplementedException.

See Also