Namespace: DeltaEngine.Platforms
Assembly: DeltaEngine.Platforms (in DeltaEngine.Platforms.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Platforms.Tests.SystemInformationTests
2 unit tests call DeltaEngine.Platforms.SystemInformation.CoreCount
Assembly: DeltaEngine.Platforms (in DeltaEngine.Platforms.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: Int32Remarks
Examples
[Test] public void HasCpuName() { Assert.GreaterOrEqual(info.CoreCount, 1); Assert.IsFalse(string.IsNullOrEmpty(info.CpuName)); }
[Test] public void VerifyCoreCountMatchesEnvironment() { Assert.IsTrue(info.Username == Environment.UserName || info.Username == "MockUsername"); }
See Also