Camera.UpdateCameraFirmware Method

Definition

Namespace: P1Sdk

Updates firmware of connected camera

public bool UpdateCameraFirmware(byte[] fwFileBuffer, ulong fwBufferSize);

Whether providing a path to a firmware file or reading it yourself and passing the buffer, make sure that it is an official released Phase One fw package.

Parameters:

fwFileBuffer

buffer containing a Phase One firmware file (with no formatting applied)

fwBufferSize

Size of buffer, which should always equals number of bytes in fwFileBuffer

Returns:

True if successfully updated (Note! by the time CameraSDK stops communicating with camera, it is not guaranteed that the update is successfull on the camera itself, see the CameraSDK documentation for example of how to be sure it was a successfull update)