public string Encode(string value) { return(ProtectedDataAdapter.Protect(value, password, DataProtectionScope.LocalMachine)); }
public string Encode(string value) { return(ProtectedDataAdapter.Protect(value, null, DataProtectionScope.CurrentUser)); }