Files
cefsharp/CefSharp/WebPluginInfo.cs
T
amaitland aba002a8d7 Start of class/struct cleanup - classes like WebPluginInfo should really have private setters, make it clearer than the values provided are readonly
Remove Plugin and replace with WebPluginInfo - resolves #1991
Still need to revisit the class/struct debate
2017-03-21 12:26:35 +10:00

41 lines
1.2 KiB
C#

// Copyright © 2010-2017 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
namespace CefSharp
{
/// <summary>
/// Information about a specific web plugin.
/// </summary>
public sealed class WebPluginInfo
{
/// <summary>
/// Gets or sets the plugin name (i.e. Flash).
/// </summary>
public string Name { get; private set; }
/// <summary>
/// Gets or sets tge description of the plugin from the version information.
/// </summary>
public string Description { get; private set; }
/// <summary>
/// Gets or sets the plugin file path (DLL/bundle/library).
/// </summary>
public string Path { get; private set; }
/// <summary>
/// Gets or sets the version of the plugin (may be OS-specific).
/// </summary>
public string Version { get; private set; }
public WebPluginInfo(string name, string description, string path, string version)
{
Name = name;
Description = description;
Path = path;
Version = version;
}
}
}