Please update your Flash Player to view content.

Online Users

0 users and 291 guests online

Monthly Winners

  • images/stories/gifts/HariHara.jpg
  • images/stories/gifts/Hemalatha.jpg
  • images/stories/gifts/Mahesh.jpg
  • images/stories/gifts/MaheshGuptha.jpg
  • images/stories/gifts/Naresh.jpg
  • images/stories/gifts/Nithin.jpg
  • images/stories/gifts/Sudhir.jpg
  • images/stories/gifts/Usha.jpg
  • images/stories/gifts/gajavelly.jpg

Top Earners

Daily Toppers

Last Points Earned

Tech Shatabdhi Radio


Latest Updates

Win A Weekly Video Library Contest Started


Weekly toppers, star of the day modules added.


Certificates and points sent to August Winners.


Interview Experiences module Added


Added 100% compatibility to all mobile phones


Win A Weekly Video Library Contest Started


Weekly toppers, star of the day modules added.


Certificates and points sent to August Winners.


Interview Experiences module Added


Added 100% compatibility to all mobile phones


Win A Weekly Video Library Contest Started


Weekly toppers, star of the day modules added.


Certificates and points sent to August Winners.


Interview Experiences module Added


Added 100% compatibility to all mobile phones


Win A Weekly Video Library Contest Started


Weekly toppers, star of the day modules added.


Certificates and points sent to August Winners.


Interview Experiences module Added


Added 100% compatibility to all mobile phones


Win A Weekly Video Library Contest Started


Weekly toppers, star of the day modules added.


Certificates and points sent to August Winners.


Interview Experiences module Added


Added 100% compatibility to all mobile phones


Win A Weekly Video Library Contest Started


Weekly toppers, star of the day modules added.


Certificates and points sent to August Winners.


Interview Experiences module Added


Added 100% compatibility to all mobile phones


Win A Weekly Video Library Contest Started


Weekly toppers, star of the day modules added.


Certificates and points sent to August Winners.


Interview Experiences module Added


Added 100% compatibility to all mobile phones


Win A Weekly Video Library Contest Started


Weekly toppers, star of the day modules added.


Certificates and points sent to August Winners.


Interview Experiences module Added


Added 100% compatibility to all mobile phones


Win A Weekly Video Library Contest Started


Weekly toppers, star of the day modules added.


Certificates and points sent to August Winners.


Interview Experiences module Added


Added 100% compatibility to all mobile phones


Win A Weekly Video Library Contest Started


Weekly toppers, star of the day modules added.


Certificates and points sent to August Winners.


Interview Experiences module Added


Added 100% compatibility to all mobile phones


Win A Weekly Video Library Contest Started


Weekly toppers, star of the day modules added.


Certificates and points sent to August Winners.


Interview Experiences module Added


Added 100% compatibility to all mobile phones


Win A Weekly Video Library Contest Started


Weekly toppers, star of the day modules added.


Certificates and points sent to August Winners.


Interview Experiences module Added


Added 100% compatibility to all mobile phones


Win A Weekly Video Library Contest Started


Weekly toppers, star of the day modules added.


Certificates and points sent to August Winners.


Interview Experiences module Added


Added 100% compatibility to all mobile phones


Win A Weekly Video Library Contest Started


Weekly toppers, star of the day modules added.


Certificates and points sent to August Winners.


Interview Experiences module Added


Added 100% compatibility to all mobile phones


Win A Weekly Video Library Contest Started


Weekly toppers, star of the day modules added.


Certificates and points sent to August Winners.


Interview Experiences module Added


Added 100% compatibility to all mobile phones


Win A Weekly Video Library Contest Started


Weekly toppers, star of the day modules added.


Certificates and points sent to August Winners.


Interview Experiences module Added


Added 100% compatibility to all mobile phones


Upcoming Events

No events found.
Sign in with Facebook

Video Comments

Redeem Points


Most Referral Users

Gowridevi
21
Nithin Mohan
12
BangaruBabu Pureti
8
DurgaPrasad
5
somanatha reddy.g
4
100% Non Commercial
Lets Help Lets Grow

Circles

All Friends
Welcome, Guest
Please Login or Register.    Lost Password?

Licence creation Using time (Like random vb.net)
(1 viewing) (1) Guest
Hyderabad Techies Forum - ASP.NET
Go to bottomPage: 1
TOPIC: Licence creation Using time (Like random vb.net)
#2104
Licence creation Using time (Like random vb.net) 1 Year, 11 Months ago Karma: 2
VB.net
Dim time As String = "9" & DateTime.Now.Second & DateTime.Now.Hour & Date.Now.Day & Date .Now.Month & Date.Now.Year & DateTime.Now.Minute & "7"
client_id = CType((97) + CType(time, Long ), String)
licence = CType(CType(Date .Now.Month & Date.Now.Minute & Date.Now.Day, Long ) + CType(Date.Now.Second & Date .Now.Year & Date.Now.Hour, Long) + CType (client_id, Long), String)
agentid = CType(CType(Date.Now.Hour & Date.Now.Second & Date.Now.Day, Long) + CType(client_id, Long), String).Substring(client_id.Length - 6, 6)
agentid = agentid & "-" & CType(CType (Date.Now.Minute & Date.Now.Month & Date .Now.Second, Long) + CType(client_id, Long ), String).Substring(client_id.Length - 4, 4)
lbllicensecode.Text = CType(licence, Long)


C#.net
string time = "9" + DateTime.Now.Second + DateTime.Now.Hour + DateTime.Now.Day + DateTime.Now.Month + DateTime.Now.Year + DateTime.Now.Minute + "7";
string client_id;
string licence;
string agentid;
string lbllicensecode;
client_id = System.Convert.ToString((97) + ((long) time));
licence = System.Convert.ToString(((long) DateTime.Now.Month + DateTime.Now.Minute + DateTime.Now.Day) + ((long) DateTime.Now.Second + DateTime.Now.Year + DateTime.Now.Hour) + ((long) client_id));
agentid = System.Convert.ToString(((long) DateTime.Now.Hour + DateTime.Now.Second + DateTime.Now.Day) + ((long) client_id)).Substring(client_id.Length - 6, 6);
agentid = agentid + "-" + System.Convert.ToString(((long) DateTime.Now.Minute + DateTime.Now.Month + DateTime.Now.Second) + ((long) client_id)).Substring(client_id.Length - 4, 4);
lbllicensecode = (long) licence;
meetdine (User)
Platinum Boarder
Posts: 801
graph
Points: 162420
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/03/10 01:40 By meetdine.
The administrator has disabled public write access.
 
#2105
Re:Licence creation Using time (Like random vb.net) 1 Year, 11 Months ago Karma: 2
Hi Dinesh Really Good Exposure

Can u plese Convert That Code Into C#....

That Leads to Useful For Many People
yoursbangarubabu (User)
Platinum Boarder
Posts: 443
graphgraph
Points: 278626
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2106
Re:Licence creation Using time (Like random vb.net) 1 Year, 11 Months ago Karma: -1
hi dinesh,
Very Good Topic
dayasagar (User)
Platinum Boarder
Posts: 529
graphgraph
Points: 115405
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2277
Re: Licence creation Using time (Like random vb.net) 1 Year, 11 Months ago Karma: 1
Thanks for sharing
surekha.ch20 (User)
Platinum Boarder
Posts: 646
graphgraph
Points: 80521
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: chandu, harihara.muvvala, usham