Electron App Connect Server For User Profile Verification And Expiry


#1

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?

#2

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


#3

yes, i want this to control my app licencing updates


#4

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.


#5

thanks DS, i will look into it…