コード例 #1
0
 public string Decode(string value)
 {
     return(ProtectedDataAdapter.Unprotect(value, password, DataProtectionScope.LocalMachine));
 }
コード例 #2
0
ファイル: UserEncryptor.cs プロジェクト: bogdaniolu97/public
 public string Encode(string value)
 {
     return(ProtectedDataAdapter.Protect(value, null, DataProtectionScope.CurrentUser));
 }