Click or drag to resize

WindowsUtilitiesDecryptSecureString Method

Decrypts an array of bytes, encrypted used EncryptSecureString, into a secure string.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static SecureString DecryptSecureString(
	this byte[] data,
	DataProtectionScope scope = DataProtectionScope.CurrentUser
)

Parameters

data
Type: SystemByte
The input data.
scope (Optional)
Type: System.Security.CryptographyDataProtectionScope
The data protection scope.

Return Value

Type: SecureString
A secure string or null.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also