StopGuessing.Models.LoginAttempt.SetCookieProvidedByClient C# (CSharp) Méthode

SetCookieProvidedByClient() private méthode

Set the cookie provided by the client by storing it's hash.
private SetCookieProvidedByClient ( string plaintextCookie ) : void
plaintextCookie string The cookie provided by the client.
Résultat void
        private void SetCookieProvidedByClient(string plaintextCookie)
        {
            if (string.IsNullOrEmpty(plaintextCookie))
                return;
            HashOfCookieProvidedByBrowser = HashCookie(plaintextCookie);
        }