Revision 56b53955 trunk/Pithos.Core/PithosMonitor.cs
b/trunk/Pithos.Core/PithosMonitor.cs | ||
---|---|---|
279 | 279 |
|
280 | 280 |
private void StartWorkflowAgent() |
281 | 281 |
{ |
282 |
|
|
283 |
bool connected = NetworkListManager.IsConnectedToInternet;
|
|
282 |
//On Vista and up we can check for a network connection |
|
283 |
bool connected=Environment.OSVersion.Version.Major < 6 || NetworkListManager.IsConnectedToInternet;
|
|
284 | 284 |
//If we are not connected retry later |
285 | 285 |
if (!connected) |
286 | 286 |
{ |
Also available in: Unified diff