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