public override byte[] GetProtocolInformation()
 {
     DebugTrace.TraceEnter(this, "GetProtocolInformation");
     byte[] protocolInformation = null;
     if (base.state.Config.NetworkEndpointsEnabled)
     {
         DebugTrace.Trace(TraceLevel.Verbose, "Generating protocol information");
         protocolInformation = new ProtocolInformationWriter(base.state).GetProtocolInformation();
     }
     else
     {
         DebugTrace.Trace(TraceLevel.Verbose, "Generating null protocol information");
     }
     DebugTrace.TraceLeave(this, "GetProtocolInformation");
     return protocolInformation;
 }
コード例 #2
0
 public override byte[] GetProtocolInformation()
 {
     DebugTrace.TraceEnter(this, "GetProtocolInformation");
     byte[] protocolInformation = null;
     if (base.state.Config.NetworkEndpointsEnabled)
     {
         DebugTrace.Trace(TraceLevel.Verbose, "Generating protocol information");
         protocolInformation = new ProtocolInformationWriter(base.state).GetProtocolInformation();
     }
     else
     {
         DebugTrace.Trace(TraceLevel.Verbose, "Generating null protocol information");
     }
     DebugTrace.TraceLeave(this, "GetProtocolInformation");
     return(protocolInformation);
 }