SystemInformationTests VerifyMaxResolution Method Delta Engine Documentation

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

public void VerifyMaxResolution()
Examples

[Test]
public void VerifyMaxResolution()
{
    var size = new Size(System.Windows.Forms.SystemInformation.PrimaryMonitorSize.Width,
        System.Windows.Forms.SystemInformation.PrimaryMonitorSize.Height);
    Assert.IsTrue(info.MaxResolution == size || info.MaxResolution == new Size(1920, 1080));
}
See Also