Пример #1
0
        /// <summary>
        /// Query if a plugin is unstable. Can be called on any thread in the browser
        /// process.
        /// </summary>
        public static void IsWebPluginUnstable(string path, CefWebPluginUnstableCallback callback)
        {
            if (string.IsNullOrEmpty(path)) throw new ArgumentNullException("path");
            if (callback == null) throw new ArgumentNullException("callback");

            fixed (char* path_str = path)
            {
                var n_path = new cef_string_t(path_str, path.Length);
                libcef.is_web_plugin_unstable(&n_path, callback.ToNative());
            }
        }
Пример #2
0
 /// <summary>
 /// Query if a plugin is unstable. Can be called on any thread in the browser
 /// process.
 /// </summary>
 public static void IsWebPluginUnstable(string path, CefWebPluginUnstableCallback callback)
 {
     if (string.IsNullOrEmpty(path))
         throw new ArgumentNullException("path"); }