diff --git a/MediaBrowser.Model/Plugins/PluginInfo.cs b/MediaBrowser.Model/Plugins/PluginInfo.cs
index 52c99b9c3e..25216610d4 100644
--- a/MediaBrowser.Model/Plugins/PluginInfo.cs
+++ b/MediaBrowser.Model/Plugins/PluginInfo.cs
@@ -20,9 +20,9 @@ namespace MediaBrowser.Model.Plugins
public PluginInfo(string name, Version version, string description, Guid id, bool canUninstall)
{
Name = name;
- Version = version?.ToString() ?? throw new ArgumentNullException(nameof(version));
+ Version = version;
Description = description;
- Id = id.ToString();
+ Id = id;
CanUninstall = canUninstall;
}
@@ -34,7 +34,7 @@ namespace MediaBrowser.Model.Plugins
///
/// Gets or sets the version.
///
- public string Version { get; set; }
+ public Version Version { get; set; }
///
/// Gets or sets the name of the configuration file.
@@ -49,7 +49,7 @@ namespace MediaBrowser.Model.Plugins
///
/// Gets or sets the unique id.
///
- public string Id { get; set; }
+ public Guid Id { get; set; }
///
/// Gets or sets a value indicating whether the plugin can be uninstalled.