コード例 #1
0
 public AuthenticatedTcpClient(Common.CommunicationAuthenticationData communicationAuthenticationData)
 {
     if (CanAuthenticateClient(communicationAuthenticationData))
     {
         ClientID             = communicationAuthenticationData.ID;
         ClientAuthentication = communicationAuthenticationData.Authentication;
         ClientType           = (int)communicationAuthenticationData.Type;
     }
 }
コード例 #2
0
 private bool CanAuthenticateClient(Common.CommunicationAuthenticationData communicationAuthenticationData)
 {
     return(true);
 }