Click or drag to resize

NeonVaultIsEncrypted Method (Stream, String)

Determines if a stream is encrypted via NeonVault and returns the name of the password used.

Namespace:  Neon.Cryptography
Assembly:  Neon.Cryptography (in Neon.Cryptography.dll) Version: 2.2.0
Syntax
public static bool IsEncrypted(
	Stream stream,
	out string passwordName
)

Parameters

stream
Type: System.IOStream
The stream.
passwordName
Type: SystemString
For encrypted files, this returns as the name of the password used.

Return Value

Type: Boolean
true if the stream is encrypted.
Remarks
Note Note
The stream position must be at the beginning of the stream for this to work.
See Also