Click here to Skip to main content
13,090,930 members (47,336 online)
Rate this:
Please Sign up or sign in to vote.
See more:

I want to maintain my chat history with another person.
Details are as follows
Whenever i go to chating on line i want to record my login and logoff time alongwith my ip address,username,and messages sent by me and received by me during that time with their username and ipaddress....under different chat portals.

Let me tell that i have just thought about this and now i m willing to make it and test it first on my machine and then sell it in the market and i sincerely need help on this so any kind of help will be highly appreciated...

Thank You..
Posted 11-Dec-11 20:55pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Hi sangaur,

You can do this by following ways,

1) Using Database
Use database to store all the required attributes against unique userid.

2) Using Serialize Object
Crate one class with having all the required attributes as member of the class. Create the object of it and intialize it at runtime with attributes and save it to the file.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

you can use it with data base...and code available for getting ip address are:

 IPHostEntry ipEntry = Dns.GetHostByName(st);
                    IPAddress[] addr = ipEntry.AddressList;
                    for (int i = 0; i < addr.Length; i++)
                        ip = addr[i].ToString();

used to get connected system ip address and bind them into list box
RaviRanjankr 13-Dec-11 16:37pm
[Edited]Code is wrapped in "pre" tag[/Edited]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.170813.1 | Last Updated 13 Dec 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100