Call StartRecording method in Zoom Windows SDK C# Wrapper

Description
I am trying to call StartRecording function from C#. the definition in C# is,
StartRecording(ref ValueType startTimestamp, string recPath);

When I try to call as,
DateTime now = DateTime.Now; ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap() .GetMeetingRecordingController().StartRecording(ref now, "path to file");

I am getting compiling error,
Error CS1503 Argument 1: cannot convert from 'ref System.DateTime' to 'ref System.ValueType'

How can I call the StartRecording method from C#?

Which version?
v5.0.24433.0616

Hi @sajithkahawatta,

Thanks for the post. As the error message has mentioned, the startRecording interface is expecting a ref System.ValueType where the parameter you are passing is ref System.DateTime.

The following links could be helpful:

Thanks!