Hi All,
I have an engine which is target platform is X86. But is running on 64 bit environment. This engine does few processes with a thread pool count of 3. In that engine, am generating a random number using datetime and thread.GetHashCode() as below
Random random = new Random((int)DateTime.Now.Ticks + Thread.CurrentThread.GetHashCode());
By using this random,a 8 char password is generated. This password is assigned to a zip file process to open the zip file.
The problem is, for fewer files the password generated are not working.
Will Thread.CurrentThread.GetHashCode() differ for 32 bit which is running on 64 bit machine?
If I ran the engine under 32 bit machine, am not getting this problem.
Regards
Madhavan.TR