特定の文字列を復号化します。
名前空間: Microsoft.VisualStudio.Data
アセンブリ: Microsoft.VisualStudio.Data (Microsoft.VisualStudio.Data.dll 内)
構文
'宣言
Public Shared Function DecryptString ( _
s As String _
) As String
public static string DecryptString(
string s
)
public:
static String^ DecryptString(
String^ s
)
static member DecryptString :
s:string -> string
public static function DecryptString(
s : String
) : String
パラメーター
- s
型 : System.String
前に EncryptStringの呼び出しで暗号化された文字列。
戻り値
型 : System.String
復号化された文字列を返します。
例外
| 例外 | 条件 |
|---|---|
| FormatException | s のパラメーターで有効な形式にありません。 |
| CryptographicException | 復号化に失敗しました。 |
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。