AsposeVisualStudioPluginPdf.Core.AsposeComponentsManager.readVersion C# (CSharp) Method

readVersion() public static method

public static readVersion ( AsposeComponent component ) : string
component AsposeComponent
return string
        public static string readVersion(AsposeComponent component)
        {
            string localPath = getLibaryDownloadPath() + component.get_name() + ".ver";
            string line = string.Empty;

            try
            {
                return System.IO.File.ReadAllText(localPath);
            }
            catch (Exception) { }
            return line;
        }