Skip to content

Instantly share code, notes, and snippets.



Created Jun 29, 2018
What would you like to do?
private str getNonce(RecId _recId)
str nonce;
System.Random random = new System.Random();
System.Int32 randomNumber = random.Next();
if(_recId > 0)
nonce = int642str(_recId);
nonce = randomNumber.ToString();
nonce = subStr(nonce, 1, 16);
return nonce;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.