Click here to Skip to main content
15,891,136 members
Articles / Programming Languages / C#

Desktop Bob - Instant CP notifications

Rate me:
Please Sign up or sign in to vote.
4.84/5 (38 votes)
26 Oct 20027 min read 328.8K   1.2K   138  
A tool for acessing CodeProject and have instant notifications of Codeproject's posts
//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//     Runtime Version: 1.0.3705.209
//
//     Changes to this file may cause incorrect behavior and will be lost if 
//     the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------

// 
// This source code was auto-generated by Microsoft.VSDesigner, Version 1.0.3705.209.
// 
namespace DesktopBob.com.codeproject.www {
    using System.Diagnostics;
    using System.Xml.Serialization;
    using System;
    using System.Web.Services.Protocols;
    using System.ComponentModel;
    using System.Web.Services;
    
    
    /// <remarks/>
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="LatestBriefSoap", Namespace="http://codeproject.com/webservices/")]
    public class LatestBrief : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        /// <remarks/>
        public LatestBrief() {
            this.Url = "http://www.codeproject.com/webservices/latest.asmx";
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://codeproject.com/webservices/GetArticleLatestUpdatePeriod", RequestNamespace="http://codeproject.com/webservices/", ResponseNamespace="http://codeproject.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public int GetArticleLatestUpdatePeriod() {
            object[] results = this.Invoke("GetArticleLatestUpdatePeriod", new object[0]);
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginGetArticleLatestUpdatePeriod(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("GetArticleLatestUpdatePeriod", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public int EndGetArticleLatestUpdatePeriod(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://codeproject.com/webservices/GetLoungeLatestUpdatePeriod", RequestNamespace="http://codeproject.com/webservices/", ResponseNamespace="http://codeproject.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public int GetLoungeLatestUpdatePeriod() {
            object[] results = this.Invoke("GetLoungeLatestUpdatePeriod", new object[0]);
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginGetLoungeLatestUpdatePeriod(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("GetLoungeLatestUpdatePeriod", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public int EndGetLoungeLatestUpdatePeriod(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://codeproject.com/webservices/GetCommentLatestUpdatePeriod", RequestNamespace="http://codeproject.com/webservices/", ResponseNamespace="http://codeproject.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public int GetCommentLatestUpdatePeriod() {
            object[] results = this.Invoke("GetCommentLatestUpdatePeriod", new object[0]);
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginGetCommentLatestUpdatePeriod(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("GetCommentLatestUpdatePeriod", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public int EndGetCommentLatestUpdatePeriod(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://codeproject.com/webservices/GetNewsflashUpdatePeriod", RequestNamespace="http://codeproject.com/webservices/", ResponseNamespace="http://codeproject.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public int GetNewsflashUpdatePeriod() {
            object[] results = this.Invoke("GetNewsflashUpdatePeriod", new object[0]);
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginGetNewsflashUpdatePeriod(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("GetNewsflashUpdatePeriod", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public int EndGetNewsflashUpdatePeriod(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://codeproject.com/webservices/GetMaxArticleListLength", RequestNamespace="http://codeproject.com/webservices/", ResponseNamespace="http://codeproject.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public int GetMaxArticleListLength() {
            object[] results = this.Invoke("GetMaxArticleListLength", new object[0]);
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginGetMaxArticleListLength(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("GetMaxArticleListLength", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public int EndGetMaxArticleListLength(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://codeproject.com/webservices/GetMaxLoungeListLength", RequestNamespace="http://codeproject.com/webservices/", ResponseNamespace="http://codeproject.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public int GetMaxLoungeListLength() {
            object[] results = this.Invoke("GetMaxLoungeListLength", new object[0]);
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginGetMaxLoungeListLength(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("GetMaxLoungeListLength", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public int EndGetMaxLoungeListLength(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://codeproject.com/webservices/GetMaxCommentListLength", RequestNamespace="http://codeproject.com/webservices/", ResponseNamespace="http://codeproject.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public int GetMaxCommentListLength() {
            object[] results = this.Invoke("GetMaxCommentListLength", new object[0]);
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginGetMaxCommentListLength(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("GetMaxCommentListLength", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public int EndGetMaxCommentListLength(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://codeproject.com/webservices/GetNewsflash", RequestNamespace="http://codeproject.com/webservices/", ResponseNamespace="http://codeproject.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string GetNewsflash() {
            object[] results = this.Invoke("GetNewsflash", new object[0]);
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginGetNewsflash(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("GetNewsflash", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public string EndGetNewsflash(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://codeproject.com/webservices/GetLatestArticleBrief", RequestNamespace="http://codeproject.com/webservices/", ResponseNamespace="http://codeproject.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)]
        public ArticleBrief[] GetLatestArticleBrief(int NumArticles) {
            object[] results = this.Invoke("GetLatestArticleBrief", new object[] {
                        NumArticles});
            return ((ArticleBrief[])(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginGetLatestArticleBrief(int NumArticles, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("GetLatestArticleBrief", new object[] {
                        NumArticles}, callback, asyncState);
        }
        
        /// <remarks/>
        public ArticleBrief[] EndGetLatestArticleBrief(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((ArticleBrief[])(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://codeproject.com/webservices/GetLatestLoungeBrief", RequestNamespace="http://codeproject.com/webservices/", ResponseNamespace="http://codeproject.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)]
        public MessageBrief[] GetLatestLoungeBrief(int NumMsgs) {
            object[] results = this.Invoke("GetLatestLoungeBrief", new object[] {
                        NumMsgs});
            return ((MessageBrief[])(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginGetLatestLoungeBrief(int NumMsgs, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("GetLatestLoungeBrief", new object[] {
                        NumMsgs}, callback, asyncState);
        }
        
        /// <remarks/>
        public MessageBrief[] EndGetLatestLoungeBrief(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((MessageBrief[])(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://codeproject.com/webservices/GetLatestCommentsBrief", RequestNamespace="http://codeproject.com/webservices/", ResponseNamespace="http://codeproject.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)]
        public MessageBrief[] GetLatestCommentsBrief(int NumMsgs) {
            object[] results = this.Invoke("GetLatestCommentsBrief", new object[] {
                        NumMsgs});
            return ((MessageBrief[])(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginGetLatestCommentsBrief(int NumMsgs, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("GetLatestCommentsBrief", new object[] {
                        NumMsgs}, callback, asyncState);
        }
        
        /// <remarks/>
        public MessageBrief[] EndGetLatestCommentsBrief(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((MessageBrief[])(results[0]));
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://codeproject.com/webservices/")]
    public class ArticleBrief {
        
        /// <remarks/>
        public string URL;
        
        /// <remarks/>
        public string Title;
        
        /// <remarks/>
        public string Author;
        
        /// <remarks/>
        public System.DateTime Posted;
        
        /// <remarks/>
        public System.DateTime Updated;
        
        /// <remarks/>
        public StatusValues Status;
        
        /// <remarks/>
        public string Description;
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://codeproject.com/webservices/")]
    [System.FlagsAttribute()]
    public enum StatusValues {
        
        /// <remarks/>
        Unknown = 1,
        
        /// <remarks/>
        Available = 2,
        
        /// <remarks/>
        New = 4,
        
        /// <remarks/>
        Updated = 8,
        
        /// <remarks/>
        Moved = 16,
        
        /// <remarks/>
        Unavailable = 32,
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://codeproject.com/webservices/")]
    public class MessageBrief {
        
        /// <remarks/>
        public string URL;
        
        /// <remarks/>
        public string Subject;
        
        /// <remarks/>
        public string Author;
        
        /// <remarks/>
        public System.DateTime Date;
        
        /// <remarks/>
        public bool ThreadRoot;
        
        /// <remarks/>
        public int MsgsInThread;
        
        /// <remarks/>
        public ForumType Type;
        
        /// <remarks/>
        public string MsgBoardName;
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://codeproject.com/webservices/")]
    [System.FlagsAttribute()]
    public enum ForumType {
        
        /// <remarks/>
        None = 1,
        
        /// <remarks/>
        MessageBoard = 2,
        
        /// <remarks/>
        Article = 4,
        
        /// <remarks/>
        Feature = 8,
        
        /// <remarks/>
        ThirdParty = 16,
        
        /// <remarks/>
        FreeForm = 32,
        
        /// <remarks/>
        All = 64,
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
CEO
Brazil Brazil
I develop software since I was 11. In the past 20 years, I developed software and used very different machines and languages, since Z80 based ones (ZX81, MSX) to mainframe computers. I still have passion for ASM, though no use for it anymore.
Professionally, I developed systems for managing very large databases, mainly on Sybase and SQL Server. Most of the solutions I write are for the financial market, focused on credit systems.
To date, I learned about 20 computer languages. As the moment, I'm in love with C# and the .NET framework, although I only can say I’m very proficient at C#, VB.NET(I’m not proud of this), T/SQL, C++ and libraries like ATL and STL.
I hate doing user interfaces, whether Web based or not, and I’m quite good at doing server side work and reusable components.
I’m the technical architect and one of the authors of Crivo, the most successful automated credit and risk assessment system available in Brazil.

Comments and Discussions