SystemInformation NetworkState Property Delta Engine Documentation

Namespace: DeltaEngine.Platforms
Assembly: DeltaEngine.Platforms (in DeltaEngine.Platforms.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public abstract NetworkState NetworkState { get; }

Property Value

Type: NetworkState
Remarks

Tests: DeltaEngine.Platforms.Tests.SystemInformationTests
Examples

1 unit tests call DeltaEngine.Platforms.SystemInformation.NetworkState
[Test]
public void CheckHasNetworkState()
{
    Assert.IsTrue(info.NetworkState == NetworkState.ConnectedViaWifiNetwork ||
        info.NetworkState == NetworkState.Disconnected);
}
See Also