Friday, 19 October 2018

How to check from which network and VPN the device is connected to, in electron application windows/mac?

I have one situation where my electron application needs to check if the user is connected to any VPN network or not. I have check NPM middlewares and electron features but unable to find anything helpful. Is there any way to get the following information from electron application:

1> Is device (windows/mac) is connected to VPN?

(My comment: I have already tried Window.navigator, it only shows a status of the connection, online: offline ? I have also tried ipcMain and ipcRenderer 'online-status-changed')

2> If the user is connected to a VPN network, I need network information.

If you have any information, how to collect this data within electron app, Please share it.



from How to check from which network and VPN the device is connected to, in electron application windows/mac?

No comments:

Post a Comment