Duplicate Question: https://answers.unity.com/questions/1758433/lookin-for-a-windows-internet-check-1.html
Lookin for a windows Internet check
I'm building a small app to use offline with my business so i can cut back on paperwork. would like to be able to sent data to a server and then be able to print a hard copy of that data once processed and broken down.
I'm looking for a simple check solution for internet connectivity. it will be for windows only and is used to change the color of an image and wheather to store data or send it once. i think I have to do my store to script data in the offline callback plus a set synced bool to false. Then the check if (synced == false) in the online callback. if false during online callback then send stored data to backend and set it to synced = true; (basically making it fire only once)
I'd also have a sync button to do that similar call to update server manually. If in offline mode:prompt a warning window. If online mode: update the server data.
Is this worded well enough? I'm out of practice with this LOL.
Anyway, Network.player.ipAddress; is depricated and I'm not looking for an android enum check or Google ping solution that i keep seeing on here. Is there any other way within unity's code to check this?? @Bunny83 always has best answers for situations i need, so if you are not busy I'd super appreciate a small amount of help