- Admin
- #11
I tried for the client to provide a string, but fully failed I think
C#:
using MediaPortal.Common;
using MediaPortal.Common.Configuration.ConfigurationClasses;
using MediaPortal.UI.FrontendServer;
using MediaPortal.UI.ServerCommunication.Settings;
using System;
using System.Diagnostics;
namespace MediaPortal.UiComponents.SkinBase.Settings.Configuration.General
{
public class Version : CustomConfigSetting
{
FileVersionInfo fileVersionInfo = FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetCallingAssembly().Location);
private string _info = fileVersionInfo.FileVersion;
}
}