WinService, startup and network
- by Marco
I'm writing in .NET a windows service that, at windows startup, executes some network operations. I noticed that my service starts before the network is up.
How can I check the network connectivity? Or, better, how can I check if the dhcp gave me an ip?