Files
lserp_cs_5.0/插件库/Cef3.24/Classes.Proxies/CefWebPluginInfo.cs
T
2026-07-10 15:25:05 +08:00

63 lines
1.6 KiB
C#

namespace Cef3
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.InteropServices;
using Cef3.Interop;
/// <summary>
/// Information about a specific web plugin.
/// </summary>
public sealed unsafe partial class CefWebPluginInfo
{
/// <summary>
/// Returns the plugin name (i.e. Flash).
/// </summary>
public string Name
{
get
{
var n_result = cef_web_plugin_info_t.get_name(_self);
return cef_string_userfree.ToString(n_result);
}
}
/// <summary>
/// Returns the plugin file path (DLL/bundle/library).
/// </summary>
public string Path
{
get
{
var n_result = cef_web_plugin_info_t.get_path(_self);
return cef_string_userfree.ToString(n_result);
}
}
/// <summary>
/// Returns the version of the plugin (may be OS-specific).
/// </summary>
public string Version
{
get
{
var n_result = cef_web_plugin_info_t.get_version(_self);
return cef_string_userfree.ToString(n_result);
}
}
/// <summary>
/// Returns a description of the plugin from the version information.
/// </summary>
public string Description
{
get
{
var n_result = cef_web_plugin_info_t.get_description(_self);
return cef_string_userfree.ToString(n_result);
}
}
}
}