public override void CreateLanSession(int maxPlayers, SessionProperties sessionProperties)
{
if (LocalPlayers.Count > 1)
throw new NotImplementedException();
if (CurrentSession != null)
throw new CoreException("A session already exists. Close the previous session first");
_networkSessionLocker = CreatingSession;
NetworkSession.BeginCreate(NetworkSessionType.SystemLink, 1, maxPlayers, 0,
LiveSessionProperties.ConvertToLiveSessionProperties(sessionProperties),
OnLiveSessionCreated, _networkSessionLocker);
}