public virtual ProtocolVersion GetServerVersion()
 {
     if (MinimumVersion.IsEqualOrEarlierVersionOf(mClientVersion))
     {
         ProtocolVersion maximumVersion = MaximumVersion;
         if (mClientVersion.IsEqualOrEarlierVersionOf(maximumVersion))
         {
             return(mServerVersion = mClientVersion);
         }
         if (mClientVersion.IsLaterVersionOf(maximumVersion))
         {
             return(mServerVersion = maximumVersion);
         }
     }
     throw new TlsFatalAlert(AlertDescription.protocol_version);
 }