Skip to content

This project shows you how to update files on client local computer, while your project is desktop based and you cannot access their computer directly

Notifications You must be signed in to change notification settings

bukanfarid/File-Updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation


File Updater



Explore the docs »

View Demo . Report Bug . Request Feature

Downloads Contributors Issues License

About The Project

This project shows you how to update files on client local computer, while your project is desktop based and you cannot access their computer directly .

Built With

Project ini didukung oleh Newtonsoft.Json Dibuat dengan menggunakan VB .NET

Getting Started

Silahkan build project ini hingga menghasilkan file "File Updater.dll", lalu import ke project anda.

Buat instance dari class FileUpdater pada form utama agar pengecekan selalu berjalan di awal form dibuka. Sebagai alternatif, anda bisa memanggil fungsi update dalam event timer

Prerequisites

Buat file JSON dengan contoh format seperti berikut :

"aplikasi":{ "downloadPath":"https://server.com/aplikasi.zip", "versi":"1.0.3.6" }

Usage

Dim filename As String = AppDomain.CurrentDomain.FriendlyName

Dim filepath As String = Application.StartupPath

Dim fileUpdater as New FileUpdater("https://server.com/tempatJson/","fileReferensi.json", true)

Dim hasil as String = await fileUpdater.checkThenUpdate(filename, filepath, "aplikasi")

if hasil<>"Updated" then messagebox.show(hasil, "Terjadi Kesalahan")

Authors

About

This project shows you how to update files on client local computer, while your project is desktop based and you cannot access their computer directly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published