Click or drag to resize

ExtensionsSecureStringGetBytes Method

Returns the SecureString value as an array of bytes

Namespace:  Cauldron
Assembly:  Cauldron.Cryptography (in Cauldron.Cryptography.dll) Version: 3.2.0.2
Syntax
[SecurityCriticalAttribute]
public static byte[] GetBytes(
	this SecureString secureString
)

Parameters

secureString
Type: System.SecuritySecureString

[Missing <param name="secureString"/> documentation for "M:Cauldron.ExtensionsSecureString.GetBytes(System.Security.SecureString)"]

Return Value

Type: Byte
An array of bytes

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type SecureString. 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