/// <summary> /// Write the contents of the file being dragged out of the web view into /// |writer|. Returns the number of bytes sent to |writer|. If |writer| is NULL /// this function will return the size of the file contents in bytes. Call /// get_file_name() to get a suggested name for the file. /// </summary> /// <remarks> /// See also the original CEF documentation in /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_drag_data_capi.h">cef/include/capi/cef_drag_data_capi.h</see>. /// </remarks> public ulong GetFileContents(CfxStreamWriter writer) { return((ulong)CfxApi.DragData.cfx_drag_data_get_file_contents(NativePtr, CfxStreamWriter.Unwrap(writer))); }
/// <summary> /// Write the contents of the file being dragged out of the web view into /// |writer|. Returns the number of bytes sent to |writer|. If |writer| is NULL /// this function will return the size of the file contents in bytes. Call /// get_file_name() to get a suggested name for the file. /// </summary> /// <remarks> /// See also the original CEF documentation in /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_drag_data_capi.h">cef/include/capi/cef_drag_data_capi.h</see>. /// </remarks> public int GetFileContents(CfxStreamWriter writer) { return(CfxApi.cfx_drag_data_get_file_contents(NativePtr, CfxStreamWriter.Unwrap(writer))); }