Electron App Connect Server For User Profile Verification And Expiry


In my electron app i want add application expiry. The method i want to implement is this,

  1. After installation user sets his profile in the app and send it to server.
  2. An expiry is set to that profile sends back it to the app.
    i want to know how do i connect with the server and collect this expiry information and make the app expired in time?


Are you asking how to use a browser (Electron) to make secure HTTP request?


yes, i want this to control my app licencing updates


For Electron, you’ll use the ClientRequest class. Full details are at that link. I haven’t tried to do that, so if you run into any errors I’m not sure how good I’d be at debugging it.


thanks DS, i will look into it…