ServerTests DisconnectServer Method Delta Engine Documentation

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

public void DisconnectServer()
Examples

[Test]
public void DisconnectServer()
{
    var client = CreateConnectedClient();
    server.Dispose();
    Assert.IsFalse(client.IsConnected);
}
See Also