{"id":22396852,"url":"https://github.com/codedead/updatemanager","last_synced_at":"2025-06-29T00:32:55.183Z","repository":{"id":84594684,"uuid":"84581518","full_name":"CodeDead/UpdateManager","owner":"CodeDead","description":"Manage updates for your .NET application using this simple library","archived":false,"fork":false,"pushed_at":"2020-01-31T00:26:07.000Z","size":162,"stargazers_count":14,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-06T01:39:42.840Z","etag":null,"topics":["autoupdate","autoupdater","csharp","manage","net","updatemanager","updater","updates","updating","visualbasic"],"latest_commit_sha":null,"homepage":"https://codedead.com","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeDead.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-03-10T16:52:38.000Z","updated_at":"2025-05-22T14:02:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"43ce3086-5df8-44e4-89f6-a00e050cee52","html_url":"https://github.com/CodeDead/UpdateManager","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/CodeDead/UpdateManager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDead%2FUpdateManager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDead%2FUpdateManager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDead%2FUpdateManager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDead%2FUpdateManager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeDead","download_url":"https://codeload.github.com/CodeDead/UpdateManager/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDead%2FUpdateManager/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262518102,"owners_count":23323301,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autoupdate","autoupdater","csharp","manage","net","updatemanager","updater","updates","updating","visualbasic"],"created_at":"2024-12-05T06:09:32.602Z","updated_at":"2025-06-29T00:32:55.153Z","avatar_url":"https://github.com/CodeDead.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UpdateManager\nUpdateManager was created by DeadLine. This library was developed free of charge.\n\nThis library can be used to check for application updates. It is designed for WPF and Windows Forms applications.\nIn order to use it, you require an XML or JSON file on a remote or local server that represents the Update class.\n\n## Dependencies\n* [.NET Framework 4.8](https://dotnet.microsoft.com/download/dotnet-framework/net48)\n\n## Usage\nUpdateManager is available as a [NuGet package](https://www.nuget.org/packages/CodeDead.UpdateManager/). You can find it here:  \nhttps://www.nuget.org/packages/CodeDead.UpdateManager/\n\nSample projects can be found here:  \nhttps://github.com/CodeDead/UpdateManager/tree/master/UpdateManager.Sample  \nhttps://github.com/CodeDead/UpdateManager/tree/master/UpdateManager.Sample.WPF\n\nCreate a new *UpdateManager* object like this:\n```C#\n// Import statement\nusing CodeDead.UpdateManager.Classes;\n\n// Initialize a new UpdateManager object\nUpdateManager updateManager = new UpdateManager();\n```\n\nYou can check for updates like this:\n```C#\ntry\n{\n  // Retrieve the latest Update object from the remote location\n  Update update = updateManager.GetLatestVersion();\n}\ncatch (Exception ex)\n{\n  MessageBox.Show(ex.Message, \"Application title\", MessageBoxButton.OK, MessageBoxImage.Error);\n}\n```\n## Update types\nUpdates can be stored and parsed in two different formats: *JSON* or *XML*. By default, the *DataType* property will be set to *Json*. You can change the *DataType* property by setting the appropriate property on the *UpdateManager* object:\n```C#\n// Initialize a new UpdateManager object\nUpdateManager updateManager = new UpdateManager();\n// Set the data type of the remote Update object representation\nupdateManager.DataType = DataType.Json;\n```\n\n```C#\n// Initialize a new UpdateManager object\nUpdateManager updateManager = new UpdateManager();\n// Set the data type of the remote Update object representation\nupdateManager.DataType = DataType.Xml;\n```\n\n### JSON Update example\n```JSON\n{\n\t\"MajorVersion\": 1,\n\t\"MinorVersion\": 0,\n\t\"BuildVersion\": 0,\n\t\"RevisionVersion\": 0,\n\t\"UpdateUrl\": \"https://codedead.com/update.exe\",\n\t\"InfoUrl\": \"https://codedead.com\",\n\t\"UpdateInfo\": \"A new version is now available. Please click the download button to download version 1.0.0.0\"\n}\n```\n\n### XML Update example\n```XML\n\u003c?xml version=\"1.0\"?\u003e\n\u003cUpdate xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\u003e\n  \u003cMajorVersion\u003e1\u003c/MajorVersion\u003e\n  \u003cMinorVersion\u003e0\u003c/MinorVersion\u003e\n  \u003cBuildVersion\u003e0\u003c/BuildVersion\u003e\n  \u003cRevisionVersion\u003e0\u003c/RevisionVersion\u003e\n  \u003cUpdateUrl\u003ehttps://example.com/update.exe\u003c/UpdateUrl\u003e\n  \u003cInfoUrl\u003ehttps://codedead.com/\u003c/InfoUrl\u003e\n  \u003cUpdateInfo\u003eA new version is now available. Please click the download button to download version 1.0.0.0\u003c/UpdateInfo\u003e\n\u003c/Update\u003e\n```\n\n# About\nThis library is maintained by CodeDead. You can find more about us using the following links:\n* [Website](https://codedead.com)\n* [Twitter](https://twitter.com/C0DEDEAD)\n* [Facebook](https://facebook.com/deadlinecodedead)\n* [Reddit](https://reddit.com/r/CodeDead/)\n\nWe would also like to thank JetBrains for the open source license that they granted us to work with wonderful tools such as [Rider](https://jetbrains.com/rider) and [Resharper](https://jetbrains.com/resharper).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodedead%2Fupdatemanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodedead%2Fupdatemanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodedead%2Fupdatemanager/lists"}