public AuthenticatedTcpClient(Common.CommunicationAuthenticationData communicationAuthenticationData) { if (CanAuthenticateClient(communicationAuthenticationData)) { ClientID = communicationAuthenticationData.ID; ClientAuthentication = communicationAuthenticationData.Authentication; ClientType = (int)communicationAuthenticationData.Type; } }
private bool CanAuthenticateClient(Common.CommunicationAuthenticationData communicationAuthenticationData) { return(true); }