Generates a unique Id as a string of up to 16 characters. Based on a GUID and the size takes that subset of a the Guid's 16 bytes to create a string id.
String Id contains numbers and lower case alpha chars 36 total.
Sizes: 6 gives roughly 99.97% uniqueness. 8 gives less than 1 in a million doubles. 16 will give near full GUID strength uniqueness
public static string GenerateUniqueId(int stringSize, string additionalCharacters)
Number of characters to generate between 8 and 16
Any additional characters you allow in the string. You can add upper case letters and symbols which are not included in the default which includes only digits and lower case letters.
See also:Class DataUtils
Comment or report problem with topic