private String generateToken() { RNGCryptoServiceProvider rng = new RNGCryptoServiceProvider(); byte[] random = new byte[8]; rng.GetBytes(random); return(rng.ToString()); }
private String generateToken() { RNGCryptoServiceProvider rng = new RNGCryptoServiceProvider(); byte[] random = new byte[8]; rng.GetBytes(random); return(rng.ToString()); }