示例#1
0
        /// <summary>
        /// The post data element will represent a file.
        /// </summary>
        /// <remarks>
        /// See also the original CEF documentation in
        /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_request_capi.h">cef/include/capi/cef_request_capi.h</see>.
        /// </remarks>
        public void SetToFile(string fileName)
        {
            var call = new CfxPostDataElementSetToFileRenderProcessCall();

            call.@this    = proxyId;
            call.fileName = fileName;
            call.RequestExecution(this);
        }
示例#2
0
        /// <summary>
        /// The post data element will represent a file.
        /// </summary>
        /// <remarks>
        /// See also the original CEF documentation in
        /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_request_capi.h">cef/include/capi/cef_request_capi.h</see>.
        /// </remarks>
        public void SetToFile(string fileName)
        {
            var call = new CfxPostDataElementSetToFileRenderProcessCall();

            call.self     = CfrObject.Unwrap(this);
            call.fileName = fileName;
            call.RequestExecution(this);
        }