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