Gmail Agent API v0.6.1 Library

GmailSession Members

GmailSession overview

Public Instance Constructors

GmailSession Constructor Initializes a new instance of the GmailSession class.

Public Instance Properties

CategoryCounts Gets or sets the list of new message counts in all the user-defined categories.
Cookies Gets or sets the cookie collection associated with the current session.
DefaultSearchCounts Gets or sets the list of new message counts in each of the default searches: Inbox, All, Spam, Starred, Trash, Sent Items.
Fingerprint Gets or sets the Gmail fingerprint.
HasConnectionError Gets or sets the flag indicating a connection error with Gmail during the last request.
LastLoginTime Gets or sets the last timestamp the user was authenticated with Google Accounts.
LastRefreshTime Gets or sets the last timestamp when the mailbox status was refreshed.
Password Gets or sets the user's Google Accounts password.
ThreadListTimestamp Gets or sets the Gmail mailbox threadlist timestamp.
TotalMessages Gets or sets the total number of messages in the mailbox.
UnreadThreads Gets or sets the collection of unread threads.
Username Gets or sets the user's Google Accounts username.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
FinalizeUpdate Signals the end of the session refresh and raises any appropriate events.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Public Instance Events

NewMessageEventHandler Occurs when a new message has been received by the Gmail account.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
OnNewMessage Occurs when a new message has been received by the Gmail account.

See Also

GmailSession Class | Johnvey.GmailAgent Namespace