Base system information class that is implemented in each platform module.
It provides system information that does not change over the course of a running
application or does not need updates.
View code on GitHub
Inheritance Hierarchy
DeltaEngine.Platforms SystemInformation
DeltaEngine.Platforms.Mocks MockSystemInformation
DeltaEngine.Platforms.Windows WindowsSystemInformation
Namespace: DeltaEngine.Platforms
Assembly: DeltaEngine.Platforms (in DeltaEngine.Platforms.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The SystemInformation type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SystemInformation | Initializes a new instance of the SystemInformation class |
Properties
Remarks
Examples
[Test] public void HasLanguage() { Assert.IsFalse(string.IsNullOrEmpty(info.Language)); }
[Test] public void CheckVersionIsCorrect() { Assert.GreaterOrEqual(info.Version, new Version("0.9.8.3")); }
[Test] public void CheckHasNetworkState() { Assert.IsTrue(info.NetworkState == NetworkState.ConnectedViaWifiNetwork || info.NetworkState == NetworkState.Disconnected); }
See Also