Ejemplo n.º 1
0
 /// <summary>
 /// Create session.
 /// </summary>
 /// <param name="name">Name of the session.</param>
 /// <param name="maxParts">Maximum participants.</param>
 public static void Create(string name, int maxParts)
 {
     SessionName = name;
     CourseID    = Cryptation.Md5Hash(name);
     Parts       = 0;
     MaxParts    = maxParts;
     CList       = new List <User>();
 }