internal void InitializeFrom(TcpRelayTransportSecurity security) { if (security == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("security"); } this.ProtectionLevel = security.ProtectionLevel; }
internal void ApplyConfiguration(TcpRelayTransportSecurity security) { if (security == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("security"); } security.ProtectionLevel = this.ProtectionLevel; }