System.Security.Cryptography.DataProtectorExtensions.UnprotectString C# (CSharp) Method

UnprotectString() public static method

public static UnprotectString ( this self, byte input ) : string
self this
input byte
return string
        public static string UnprotectString(this DataProtector self, byte[] input)
        {
            return Encoding.UTF8.GetString(
                self.Unprotect(input));
        }
    }
DataProtectorExtensions