Example #1
0
 public SimulatedUserAccount GetBenignAccountWeightedByLoginFrequency()
 {
     lock (BenignAccountSelector)
     {
         return(BenignAccountSelector.GetItemByWeightedRandom());
     }
 }
Example #2
0
 /// <summary>
 /// Gets a password from a realistic password distribution.
 /// </summary>
 /// <returns>A password string</returns>
 public string GetPasswordFromWeightedDistribution()
 {
     return(_passwordSelector.GetItemByWeightedRandom());
 }