StopGuessing.Models.LoginAttempt.ToUniqueKey C# (CSharp) Method

ToUniqueKey() private method

Get a unique identifier for this login attempt.
private ToUniqueKey ( ) : string
return string
        private string ToUniqueKey()
        {
            return UrlEncoder.Default.Encode(UsernameOrAccountId) + "&" + 
                UrlEncoder.Default.Encode(AddressOfServerThatInitiallyReceivedLoginAttempt.ToString()) + "&" + 
                TimeOfAttemptUtc.Ticks.ToString();
        }