protected Protect ( byte data, string purpose ) : string | ||
data | byte | |
purpose | string | |
return | string |
protected virtual string Protect(byte[] data, string purpose)
{
return MachineKey.Encode(data, MachineKeyProtection.All);
}