Exemplo n.º 1
0
        /// <summary>
        /// Posts message.
        /// </summary>
        private void Post()
        {
            try{
                using (NNTP_Client nntp = new NNTP_Client()){
                    nntp.Connect(m_Server, m_Port);

                    nntp.PostMessage(m_Newsgroup, m_pMessageStream);
                }
            }
            catch (Exception x) {
                Error.DumpError(x, new System.Diagnostics.StackTrace());
            }
        }
 private void Post()
 {
     try
     {
         using (NNTP_Client nNTP_Client = new NNTP_Client())
         {
             nNTP_Client.Connect(this.m_Server, this.m_Port);
             nNTP_Client.PostMessage(this.m_Newsgroup, this.m_pMessageStream);
         }
     }
     catch (Exception x)
     {
         Error.DumpError(x);
     }
 }