First you need to create a new instance of CodeRain specifying a code pattern. In the example we are going to generate codes consisting of 3 random uppercase letters followed by a hyphen and 5 random ...