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