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

storeVersion() public static method

public static storeVersion ( AsposeComponent component ) : void
component AsposeComponent
return void
        public static void storeVersion(AsposeComponent component)
        {
            string localPath = getLibaryDownloadPath() + component.get_name() + ".ver";
            try
            {
                System.IO.File.WriteAllText(localPath, component.get_latestVersion());
            }
            catch (FileNotFoundException e)
            {

            }
            catch (Exception e)
            {

            }

        }