You are here: MessengerYouLike.IMSDK > IMSDK Reference > IMSDK Namespace > Classes > IMClient Class
MessengerYouLike
IMClient Class

IMClient component enables easy integration of instant Messaging(IM) functionality within any .NET application.

IMSDK.IMClient
C#
public class IMClient : ComponentModel.Component;
Visual Basic
Public Class IMClient
Inherits ComponentModel.Component

The IMClient component enables Encrypted Instant Messaging .The Client component is feature-rich and flexible, It supports Custom Encrypted IM Protocol with IMServer,The encryption can be Controlled by a Secret key thus making it more secure.

Topics
Public Methods
Public Constructors
 
Name 
Description 
 
New 
This is New, a member of class IMClient. 
IMClient Enumerations
 
Name 
Description 
 
 
 
 
 
 
IMClient Methods
 
Name 
Description 
 
This Method Allows Users to add a friend to there contacts List  
 
This Method Allows Users to add a group to there Contacts list. 
 
When a Online Contacts Sends a File this method is used to Accept the File Transfer  
 
When a Online Contacts Sends a File this method is used to Reject the File Transfer  
 
This Method Allows Users to accept incoming Friend add Invitations  
 
This Method Allows Users to Reject incoming friend add Invitations  
 
This Method Allows Users To Block or Unblock a specific Contact  
 
This Method Allows Users to login with Username and Password. 
 
This Method Allows Users to Logout  
 
This Method Allows Users to Move a Friend From One Group to another  
 
This Method Allows Users to Remove the Contact  
 
This Method Allows Users to Remove a Group  
 
This Method Allows Users to Rename a Group  
 
This Method Allows Users Search For Other users  
 
This Method Allows Users to Send a file to Online Contacts  
 
This Method Allows Users to send a Message to Online and Offline Contacts  
 
This Method Allows Users to Set the Status (Online,Busy etc)  
 
This Method Allows users to Create a new account  
 
This Method Allows Users to see wether his friend is typing a message to them or not  
 
This Method Allows Users to Find IMSDK.Friends.MFriend for specific username  
 
This Method Allows Users to Get there Own Display Picture  
 
This Method Allows Users to Get Contact's Display Picture  
 
This Method Allows the IMClient to Start Listening  
 
This Method Allows IMClient to Close the listening Port. 
 
This Method Allows Users Change there Display Picture and Update all Online friends with it  
IMClient Properties
 
Name 
Description 
 
This Property is Used to Set the default file save path  
 
This Property is Used to Specify Default File Transfer Port  
 
This Property is Used to Save Display Pictures  
 
This Property is Used to Specify the Connection Speed for FileTransfer  
 
This Property is Used to Encrypt all Outgoing File Transfers  
 
This Property is Used to Set the Key for File Encryption  
 
This Property is Used to Restrict the Number of Friends  
 
This Property is Used to Restrict the Number of Groups  
 
This Property is Used to Set Group Name for Those Friends which do not belong to any Group  
 
This Property is Used to Set the Port where the IMClient Listens for the Server  
 
This Property is Used to Encrypted all Messages and commands that are sent to the server  
 
This Property is Used to Specify the location of IMServer  
IMClient Events
 
Name 
Description 
 
This Event Shows the Custom data which was Sent by the IM Server  
 
This Event Fires when IMSDK.IMClient.UpdateDisplayPicture completes  
 
When an exception occurs in IMClient  
 
This Event Fires when Port is Opened for File Transfer  
 
When File is canceled by the Receiving IMClient  
 
When Listening Port is Closed and IMClient gets Disconnected from the Sending IMClient  
 
When File is Receiving,number of Bytes received are reurtrned  
 
When File Transfer Completes  
 
When Sub IMSDK.IMClient.BeginFileRequestRejected is called then this event is fired on File sending IMClient  
 
When File is canceled by the Sending IMClient  
 
When File Transfer Completes  
 
When Listening Port is Closed and IMClient gets Disconnected from the Receiving IMClient  
 
When File is sending,number of Bytes sent are reurtrned  
 
When a Logged in User Blocks there Contact. That contact is notified via this event that it is blocked  
 
When a Logged in User Blocks there Contact. That contact is notified via this event that it is blocked  
 
When Some user Wants to Add this User as a Friend in there list  
 
When IMSDK.IMClient.BeginAddFriend request is accepted by the IMClient  
 
When Logged in User Blocks a contact  
 
When Display Picture of a Contact is Updated  
 
When IMSDK.IMClient.BeginAddFriend request is rejected by the IMClient  
 
When a Contact Goes offline  
 
When a Contact comes Online  
 
When Logged In user is Being removed By its Contact  
 
when Friend is removed From the logged in user's Contacts list  
 
When Ever any Property of Contacts is Updated this event is fired  
 
when IMSDK.IMClient.Status of the Friend is changed  
 
When Logged in User Unblock's a contact  
 
when IMSDK.IMClient.BeginAddGroup completes  
 
 
When IMClient Starts Listening by opening a port  
 
When username and password is valid and user is logged in  
 
When Logged in user is Logged out  
 
When Message is Successfully sent to the Online IMClient by the server  
 
When Message is Not Successfully sent to the Online IMClient by the server  
 
When Message is Successfully received  
 
 
 
when IMSDK.IMClient.BeginAddFriend does not completes because the friend is already added  
 
When Friend being added [ IMSDK.IMClient.BeginAddFriend ] does not exist on the server  
 
When a invalid Group ID is Sepcifed  
 
This Event is Fired When a Message is queued as a offline message 
 
This Event Shows all or any Offline messages for the logged in user  
 
When Logged In user is Being removed By its Contact and Contact is Online  
 
When a Online Contact Wants to send a file then this event is fired  
 
 
 
when IMSDK.IMClient.BeginSignUp completes  
 
When value set by property IMSDK.IMClient.MAXFriends exceeds  
 
When value set by property IMSDK.IMClient.MAXGroups exceeds  
 
Signals that Friend is typing a message  
 
This Event is raised only when user is blocked by the IM Server  
 
On new registration [ IMSDK.IMClient.BeginSignUp ] this event is fired if the username is already taken  
 
On Login [ IMSDK.IMClient.BeginLogin ] if username or password is invalid then this event is fired  
 
When sub IMSDK.IMClient.BeginSetUserStatus Completes  
Public Constructors
 
Name 
Description 
 
New 
This is New, a member of class IMClient. 
 
Name 
Description 
 
 
 
 
 
 
 
Name 
Description 
 
This Event Shows the Custom data which was Sent by the IM Server  
 
This Event Fires when IMSDK.IMClient.UpdateDisplayPicture completes  
 
When an exception occurs in IMClient  
 
This Event Fires when Port is Opened for File Transfer  
 
When File is canceled by the Receiving IMClient  
 
When Listening Port is Closed and IMClient gets Disconnected from the Sending IMClient  
 
When File is Receiving,number of Bytes received are reurtrned  
 
When File Transfer Completes  
 
When Sub IMSDK.IMClient.BeginFileRequestRejected is called then this event is fired on File sending IMClient  
 
When File is canceled by the Sending IMClient  
 
When File Transfer Completes  
 
When Listening Port is Closed and IMClient gets Disconnected from the Receiving IMClient  
 
When File is sending,number of Bytes sent are reurtrned  
 
When a Logged in User Blocks there Contact. That contact is notified via this event that it is blocked  
 
When a Logged in User Blocks there Contact. That contact is notified via this event that it is blocked  
 
When Some user Wants to Add this User as a Friend in there list  
 
When IMSDK.IMClient.BeginAddFriend request is accepted by the IMClient  
 
When Logged in User Blocks a contact  
 
When Display Picture of a Contact is Updated  
 
When IMSDK.IMClient.BeginAddFriend request is rejected by the IMClient  
 
When a Contact Goes offline  
 
When a Contact comes Online  
 
When Logged In user is Being removed By its Contact  
 
when Friend is removed From the logged in user's Contacts list  
 
When Ever any Property of Contacts is Updated this event is fired  
 
when IMSDK.IMClient.Status of the Friend is changed  
 
When Logged in User Unblock's a contact  
 
when IMSDK.IMClient.BeginAddGroup completes  
 
 
When IMClient Starts Listening by opening a port  
 
When username and password is valid and user is logged in  
 
When Logged in user is Logged out  
 
When Message is Successfully sent to the Online IMClient by the server  
 
When Message is Not Successfully sent to the Online IMClient by the server  
 
When Message is Successfully received  
 
 
 
when IMSDK.IMClient.BeginAddFriend does not completes because the friend is already added  
 
When Friend being added [ IMSDK.IMClient.BeginAddFriend ] does not exist on the server  
 
When a invalid Group ID is Sepcifed  
 
This Event is Fired When a Message is queued as a offline message 
 
This Event Shows all or any Offline messages for the logged in user  
 
When Logged In user is Being removed By its Contact and Contact is Online  
 
When a Online Contact Wants to send a file then this event is fired  
 
 
 
when IMSDK.IMClient.BeginSignUp completes  
 
When value set by property IMSDK.IMClient.MAXFriends exceeds  
 
When value set by property IMSDK.IMClient.MAXGroups exceeds  
 
Signals that Friend is typing a message  
 
This Event is raised only when user is blocked by the IM Server  
 
On new registration [ IMSDK.IMClient.BeginSignUp ] this event is fired if the username is already taken  
 
On Login [ IMSDK.IMClient.BeginLogin ] if username or password is invalid then this event is fired  
 
When sub IMSDK.IMClient.BeginSetUserStatus Completes  
 
Name 
Description 
 
This Method Allows Users to add a friend to there contacts List  
 
This Method Allows Users to add a group to there Contacts list. 
 
When a Online Contacts Sends a File this method is used to Accept the File Transfer  
 
When a Online Contacts Sends a File this method is used to Reject the File Transfer  
 
This Method Allows Users to accept incoming Friend add Invitations  
 
This Method Allows Users to Reject incoming friend add Invitations  
 
This Method Allows Users To Block or Unblock a specific Contact  
 
This Method Allows Users to login with Username and Password. 
 
This Method Allows Users to Logout  
 
This Method Allows Users to Move a Friend From One Group to another  
 
This Method Allows Users to Remove the Contact  
 
This Method Allows Users to Remove a Group  
 
This Method Allows Users to Rename a Group  
 
This Method Allows Users Search For Other users  
 
This Method Allows Users to Send a file to Online Contacts  
 
This Method Allows Users to send a Message to Online and Offline Contacts  
 
This Method Allows Users to Set the Status (Online,Busy etc)  
 
This Method Allows users to Create a new account  
 
This Method Allows Users to see wether his friend is typing a message to them or not  
 
This Method Allows Users to Find IMSDK.Friends.MFriend for specific username  
 
This Method Allows Users to Get there Own Display Picture  
 
This Method Allows Users to Get Contact's Display Picture  
 
This Method Allows the IMClient to Start Listening  
 
This Method Allows IMClient to Close the listening Port. 
 
This Method Allows Users Change there Display Picture and Update all Online friends with it  
 
Name 
Description 
 
This Property is Used to Set the default file save path  
 
This Property is Used to Specify Default File Transfer Port  
 
This Property is Used to Save Display Pictures  
 
This Property is Used to Specify the Connection Speed for FileTransfer  
 
This Property is Used to Encrypt all Outgoing File Transfers  
 
This Property is Used to Set the Key for File Encryption  
 
This Property is Used to Restrict the Number of Friends  
 
This Property is Used to Restrict the Number of Groups  
 
This Property is Used to Set Group Name for Those Friends which do not belong to any Group  
 
This Property is Used to Set the Port where the IMClient Listens for the Server  
 
This Property is Used to Encrypted all Messages and commands that are sent to the server  
 
This Property is Used to Specify the location of IMServer  
You are here: MessengerYouLike.IMSDK > IMSDK Reference > IMSDK Namespace > Classes > IMClient Class
Copyright (c) 2007. All rights reserved.